Home
last modified time | relevance | path

Searched refs:chset_idx (Results 1 – 25 of 34) sorted by relevance

12

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_rf.c1228 int chset_idx; in op_class_pref_apply_regulatory() local
1246 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in op_class_pref_apply_regulatory()
1247 if (chset_idx == -1) in op_class_pref_apply_regulatory()
1250 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40U) && k % 2 == 0) in op_class_pref_apply_regulatory()
1252 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40L) && k % 2 == 1) in op_class_pref_apply_regulatory()
1255 if (bw >= CHANNEL_WIDTH_80 && (chset[chset_idx].flags & RTW_CHF_NO_80MHZ)) in op_class_pref_apply_regulatory()
1257 if (bw >= CHANNEL_WIDTH_160 && (chset[chset_idx].flags & RTW_CHF_NO_160MHZ)) in op_class_pref_apply_regulatory()
1259 if ((chset[chset_idx].flags & RTW_CHF_DFS) && rtw_rfctl_dfs_domain_unknown(rfctl)) in op_class_pref_apply_regulatory()
1261 if (chset[chset_idx].flags & RTW_CHF_NO_IR) in op_class_pref_apply_regulatory()
H A Drtw_scan.c2733 int chset_idx; in rtw_sitesurvey_cmd() local
2734 chset_idx = rtw_chset_search_ch(rfctl->channel_set, in rtw_sitesurvey_cmd()
2736 if (chset_idx < 0) { in rtw_sitesurvey_cmd()
2745 || !CH_IS_NON_OCP(&rfctl->channel_set[chset_idx]))) in rtw_sitesurvey_cmd()
H A Drtw_chplan.c1072 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
1076 if (chset_idx < 0) in rtw_process_beacon_hint()
1079 chinfo = &chset[chset_idx]; in rtw_process_beacon_hint()
H A Drtw_mlme_ext.c9651 int chset_idx; local
9659 chset_idx = rtw_chset_search_ch(chset, bss->Configuration.DSConfig);
9660 if (chset_idx < 0)
9661 return chset_idx;
9663 chset[chset_idx].hidden_bss_cnt++;
9664 return chset_idx;
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_rf.c1228 int chset_idx; in op_class_pref_apply_regulatory() local
1246 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in op_class_pref_apply_regulatory()
1247 if (chset_idx == -1) in op_class_pref_apply_regulatory()
1250 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40U) && k % 2 == 0) in op_class_pref_apply_regulatory()
1252 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40L) && k % 2 == 1) in op_class_pref_apply_regulatory()
1255 if (bw >= CHANNEL_WIDTH_80 && (chset[chset_idx].flags & RTW_CHF_NO_80MHZ)) in op_class_pref_apply_regulatory()
1257 if (bw >= CHANNEL_WIDTH_160 && (chset[chset_idx].flags & RTW_CHF_NO_160MHZ)) in op_class_pref_apply_regulatory()
1259 if ((chset[chset_idx].flags & RTW_CHF_DFS) && rtw_rfctl_dfs_domain_unknown(rfctl)) in op_class_pref_apply_regulatory()
1261 if (chset[chset_idx].flags & RTW_CHF_NO_IR) in op_class_pref_apply_regulatory()
H A Drtw_scan.c2759 int chset_idx; in rtw_sitesurvey_cmd() local
2760 chset_idx = rtw_chset_search_ch(rfctl->channel_set, in rtw_sitesurvey_cmd()
2762 if (chset_idx < 0) { in rtw_sitesurvey_cmd()
2771 || !CH_IS_NON_OCP(&rfctl->channel_set[chset_idx]))) in rtw_sitesurvey_cmd()
H A Drtw_chplan.c1072 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
1076 if (chset_idx < 0) in rtw_process_beacon_hint()
1079 chinfo = &chset[chset_idx]; in rtw_process_beacon_hint()
H A Drtw_mlme_ext.c9680 int chset_idx; local
9688 chset_idx = rtw_chset_search_ch(chset, bss->Configuration.DSConfig);
9689 if (chset_idx < 0)
9690 return chset_idx;
9692 chset[chset_idx].hidden_bss_cnt++;
9693 return chset_idx;
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_chplan.c598 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
600 if (chset_idx < 0) in rtw_process_beacon_hint()
603 if (chset[chset_idx].ScanType == SCAN_PASSIVE in rtw_process_beacon_hint()
606 && (RTW_CHPLAN_BEACON_HINT_ON_DFS_CH || !chset[chset_idx].dfs) in rtw_process_beacon_hint()
609 chset[chset_idx].ScanType = SCAN_ACTIVE; in rtw_process_beacon_hint()
H A Drtw_rf.c1003 int chset_idx; in init_op_class_ch_bmp() local
1025 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in init_op_class_ch_bmp()
1026 if (chset_idx == -1) in init_op_class_ch_bmp()
1031 if (chset[chset_idx].dfs && rtw_rfctl_dfs_domain_unknown(rfctl)) in init_op_class_ch_bmp()
1033 if (chset[chset_idx].ScanType == SCAN_PASSIVE) in init_op_class_ch_bmp()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_chplan.c597 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
599 if (chset_idx < 0) in rtw_process_beacon_hint()
602 if (chset[chset_idx].ScanType == SCAN_PASSIVE in rtw_process_beacon_hint()
605 && (RTW_CHPLAN_BEACON_HINT_ON_DFS_CH || !chset[chset_idx].dfs) in rtw_process_beacon_hint()
608 chset[chset_idx].ScanType = SCAN_ACTIVE; in rtw_process_beacon_hint()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_rf.c1232 int chset_idx; in op_class_pref_apply_regulatory() local
1250 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in op_class_pref_apply_regulatory()
1251 if (chset_idx == -1) in op_class_pref_apply_regulatory()
1254 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40U) && k % 2 == 0) in op_class_pref_apply_regulatory()
1256 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40L) && k % 2 == 1) in op_class_pref_apply_regulatory()
1259 if (bw >= CHANNEL_WIDTH_80 && (chset[chset_idx].flags & RTW_CHF_NO_80MHZ)) in op_class_pref_apply_regulatory()
1261 if (bw >= CHANNEL_WIDTH_160 && (chset[chset_idx].flags & RTW_CHF_NO_160MHZ)) in op_class_pref_apply_regulatory()
1263 if ((chset[chset_idx].flags & RTW_CHF_DFS) && rtw_rfctl_dfs_domain_unknown(rfctl)) in op_class_pref_apply_regulatory()
1265 if (chset[chset_idx].flags & RTW_CHF_NO_IR) in op_class_pref_apply_regulatory()
H A Drtw_chplan.c588 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
591 if (chset_idx < 0) in rtw_process_beacon_hint()
594 if ((chset[chset_idx].flags & RTW_CHF_NO_IR) in rtw_process_beacon_hint()
597 && (RTW_CHPLAN_BEACON_HINT_ON_DFS_CH || !(chset[chset_idx].flags & RTW_CHF_DFS)) in rtw_process_beacon_hint()
600 chset[chset_idx].flags &= ~RTW_CHF_NO_IR; in rtw_process_beacon_hint()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_rf.c1232 int chset_idx; in op_class_pref_apply_regulatory() local
1250 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in op_class_pref_apply_regulatory()
1251 if (chset_idx == -1) in op_class_pref_apply_regulatory()
1254 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40U) && k % 2 == 0) in op_class_pref_apply_regulatory()
1256 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40L) && k % 2 == 1) in op_class_pref_apply_regulatory()
1259 if (bw >= CHANNEL_WIDTH_80 && (chset[chset_idx].flags & RTW_CHF_NO_80MHZ)) in op_class_pref_apply_regulatory()
1261 if (bw >= CHANNEL_WIDTH_160 && (chset[chset_idx].flags & RTW_CHF_NO_160MHZ)) in op_class_pref_apply_regulatory()
1263 if ((chset[chset_idx].flags & RTW_CHF_DFS) && rtw_rfctl_dfs_domain_unknown(rfctl)) in op_class_pref_apply_regulatory()
1265 if (chset[chset_idx].flags & RTW_CHF_NO_IR) in op_class_pref_apply_regulatory()
H A Drtw_chplan.c588 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
591 if (chset_idx < 0) in rtw_process_beacon_hint()
594 if ((chset[chset_idx].flags & RTW_CHF_NO_IR) in rtw_process_beacon_hint()
597 && (RTW_CHPLAN_BEACON_HINT_ON_DFS_CH || !(chset[chset_idx].flags & RTW_CHF_DFS)) in rtw_process_beacon_hint()
600 chset[chset_idx].flags &= ~RTW_CHF_NO_IR; in rtw_process_beacon_hint()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_rf.c1233 int chset_idx; in op_class_pref_apply_regulatory() local
1251 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in op_class_pref_apply_regulatory()
1252 if (chset_idx == -1) in op_class_pref_apply_regulatory()
1255 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40U) && k % 2 == 0) in op_class_pref_apply_regulatory()
1257 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40L) && k % 2 == 1) in op_class_pref_apply_regulatory()
1260 if (bw >= CHANNEL_WIDTH_80 && (chset[chset_idx].flags & RTW_CHF_NO_80MHZ)) in op_class_pref_apply_regulatory()
1262 if (bw >= CHANNEL_WIDTH_160 && (chset[chset_idx].flags & RTW_CHF_NO_160MHZ)) in op_class_pref_apply_regulatory()
1264 if ((chset[chset_idx].flags & RTW_CHF_DFS) && rtw_rfctl_dfs_domain_unknown(rfctl)) in op_class_pref_apply_regulatory()
1266 if (chset[chset_idx].flags & RTW_CHF_NO_IR) in op_class_pref_apply_regulatory()
H A Drtw_chplan.c589 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
592 if (chset_idx < 0) in rtw_process_beacon_hint()
595 if ((chset[chset_idx].flags & RTW_CHF_NO_IR) in rtw_process_beacon_hint()
598 && (RTW_CHPLAN_BEACON_HINT_ON_DFS_CH || !(chset[chset_idx].flags & RTW_CHF_DFS)) in rtw_process_beacon_hint()
601 chset[chset_idx].flags &= ~RTW_CHF_NO_IR; in rtw_process_beacon_hint()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_chplan.c603 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
605 if (chset_idx < 0) in rtw_process_beacon_hint()
608 if (chset[chset_idx].ScanType == SCAN_PASSIVE in rtw_process_beacon_hint()
611 && (RTW_CHPLAN_BEACON_HINT_ON_DFS_CH || !chset[chset_idx].dfs) in rtw_process_beacon_hint()
614 chset[chset_idx].ScanType = SCAN_ACTIVE; in rtw_process_beacon_hint()
H A Drtw_rf.c1002 int chset_idx; in init_op_class_ch_bmp() local
1024 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in init_op_class_ch_bmp()
1025 if (chset_idx == -1) in init_op_class_ch_bmp()
1030 if (chset[chset_idx].dfs && rtw_rfctl_dfs_domain_unknown(rfctl)) in init_op_class_ch_bmp()
1032 if (chset[chset_idx].ScanType == SCAN_PASSIVE) in init_op_class_ch_bmp()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_rf.c1336 int chset_idx; in op_class_pref_apply_regulatory() local
1354 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in op_class_pref_apply_regulatory()
1355 if (chset_idx == -1) in op_class_pref_apply_regulatory()
1358 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40U) && k % 2 == 0) in op_class_pref_apply_regulatory()
1360 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40L) && k % 2 == 1) in op_class_pref_apply_regulatory()
1363 if (bw >= CHANNEL_WIDTH_80 && (chset[chset_idx].flags & RTW_CHF_NO_80MHZ)) in op_class_pref_apply_regulatory()
1365 if (bw >= CHANNEL_WIDTH_160 && (chset[chset_idx].flags & RTW_CHF_NO_160MHZ)) in op_class_pref_apply_regulatory()
1367 if ((chset[chset_idx].flags & RTW_CHF_DFS) && rtw_rfctl_dfs_domain_unknown(rfctl)) in op_class_pref_apply_regulatory()
1369 if (chset[chset_idx].flags & RTW_CHF_NO_IR) in op_class_pref_apply_regulatory()
H A Drtw_chplan.c872 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
876 if (chset_idx < 0) in rtw_process_beacon_hint()
879 chinfo = &chset[chset_idx]; in rtw_process_beacon_hint()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_rf.c1300 int chset_idx; in op_class_pref_apply_regulatory() local
1318 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in op_class_pref_apply_regulatory()
1319 if (chset_idx == -1) in op_class_pref_apply_regulatory()
1322 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40U) && k % 2 == 0) in op_class_pref_apply_regulatory()
1324 if ((chset[chset_idx].flags & RTW_CHF_NO_HT40L) && k % 2 == 1) in op_class_pref_apply_regulatory()
1327 if (bw >= CHANNEL_WIDTH_80 && (chset[chset_idx].flags & RTW_CHF_NO_80MHZ)) in op_class_pref_apply_regulatory()
1329 if (bw >= CHANNEL_WIDTH_160 && (chset[chset_idx].flags & RTW_CHF_NO_160MHZ)) in op_class_pref_apply_regulatory()
1331 if ((chset[chset_idx].flags & RTW_CHF_DFS) && rtw_rfctl_dfs_domain_unknown(rfctl)) in op_class_pref_apply_regulatory()
1333 if (chset[chset_idx].flags & RTW_CHF_NO_IR) in op_class_pref_apply_regulatory()
H A Drtw_chplan.c872 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
876 if (chset_idx < 0) in rtw_process_beacon_hint()
879 chinfo = &chset[chset_idx]; in rtw_process_beacon_hint()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_rf.c1002 int chset_idx; in init_op_class_ch_bmp() local
1024 chset_idx = rtw_chset_search_ch(chset, *(op_chs + k)); in init_op_class_ch_bmp()
1025 if (chset_idx == -1) in init_op_class_ch_bmp()
1030 if (chset[chset_idx].dfs && rtw_rfctl_dfs_domain_unknown(rfctl)) in init_op_class_ch_bmp()
1032 if (chset[chset_idx].ScanType == SCAN_PASSIVE) in init_op_class_ch_bmp()
H A Drtw_chplan.c568 int chset_idx = rtw_chset_search_ch(chset, ch); in rtw_process_beacon_hint() local
570 if (chset_idx < 0) in rtw_process_beacon_hint()
573 if (chset[chset_idx].ScanType == SCAN_PASSIVE in rtw_process_beacon_hint()
576 && (RTW_CHPLAN_BEACON_HINT_ON_DFS_CH || !chset[chset_idx].dfs) in rtw_process_beacon_hint()
579 chset[chset_idx].ScanType = SCAN_ACTIVE; in rtw_process_beacon_hint()

12