Lines Matching +full:1 +full:ghz

27  *	Convert 2 ghz channels from bit definition and then fill to
33 * *ch_cnt : final converted 2ghz channel numbers.
35 * ch : 2 ghz bit difinitions
36 * passive : 2 ghz passive bit difinitions
45 PHL_INFO("[REGU], convert 2 ghz channels\n"); in _convert_ch2g()
49 shift = (1 << i); in _convert_ch2g()
52 rch[*ch_cnt].channel = (u8)(i + 1); in _convert_ch2g()
59 PHL_INFO("[REGU], ch: %d%s\n", (i + 1), in _convert_ch2g()
96 ch = ((chdef->support_ch[1] << 8) | (chdef->support_ch[0])); in _chnlplan_update_2g()
97 passive = ((chdef->passive[1] << 8) | (chdef->passive[0])); in _chnlplan_update_2g()
100 PHL_INFO("[REGU], 2 GHz, total channel = %d\n", plan->cnt); in _chnlplan_update_2g()
124 *ch = ((chdef->support_ch_b3[1] << 8) | in _get_5ghz_ch_info()
126 *passive = ((chdef->passive_b3[1] << 8) | in _get_5ghz_ch_info()
128 *dfs = ((chdef->dfs_b3[1] << 8) | in _get_5ghz_ch_info()
152 * Convert 5 ghz channels from bit definition and then fill to
157 * band_5g : 1~4 (5g band-1 ~ 5g band-4)
159 * *ch_cnt : final converted 2ghz channel numbers.
161 * ch : 5 ghz bnad channel bit difinitions
162 * passive : 5 ghz band passive bit difinitions
163 * dfs : 5 ghz band dfs bit difinitions
164 * max_num : maximum channel numbers of the 5 ghz band.
165 * ch_start : start channel index of the 5 ghz band.
176 PHL_INFO("[REGU], convert 5ghz band-%d channels, from %d, ch=0x%x, passive = 0x%x, dfs=0x%x \n", in _convert_ch5g()
180 shift = (1 << i); in _convert_ch5g()
239 _convert_ch5g((u8)(i + 1), rg, &plan->cnt, plan->ch, in _chnlplan_update_5g()
244 PHL_INFO("[REGU], 5 GHz, total channel = %d\n", total); in _chnlplan_update_5g()
280 dfs = ((group->ch[i].property & CH_DFS) ? 1 : 0); in _get_group_chplan()
319 /* 2ghz */ in _get_chnlplan()
329 /* 5ghz */ in _get_chnlplan()
405 * ex: filter : {1, 6}, inplan : {1, 6, 6, 11}, ouput => {1, 6, 6} in _filter_chnlplan()
476 PHL_INFO("[REGU], %d, %shz: ch %d%s%s%s\n", (i + 1), in _display_chplan()
561 rg->country[1] = 0; in _reset_for_non_specific_country()
616 /* 2 ghz */ in rtw_phl_set_user_def_chplan()
623 PHL_INFO("[REGU], 2 GHz, total channel = %d\n", plan->cnt); in rtw_phl_set_user_def_chplan()
625 /* 5 ghz */ in rtw_phl_set_user_def_chplan()
632 _convert_ch5g((u8)(i + 1), rg, &plan->cnt, plan->ch, in rtw_phl_set_user_def_chplan()
761 country[0], country[1], reason); in rtw_phl_regulation_set_country()
776 cdmap[i].char2[1] == country[1] ) { in rtw_phl_regulation_set_country()
782 rg->country[1] = country[1]; in rtw_phl_regulation_set_country()
787 if(cdmap[i].support & BIT(1)) in rtw_phl_regulation_set_country()
949 /* find channel definition for 2 ghz & 5 ghz */ in rtw_phl_query_specific_chplan()
973 /* 2ghz */ in rtw_phl_query_specific_chplan()
975 ch = ((chdef2->support_ch[1] << 8) | in rtw_phl_query_specific_chplan()
977 passive = ((chdef2->passive[1] << 8) | in rtw_phl_query_specific_chplan()
982 /* 5ghz */ in rtw_phl_query_specific_chplan()
988 _convert_ch5g((u8)(i + 1), rg, &plan->cnt, plan->ch, in rtw_phl_query_specific_chplan()
1034 info->country[1] = rg->country[1]; in rtw_phl_query_regulation_info()
1067 country[0], country[1]); in rtw_phl_query_country_chplan()
1071 cdmap[i].char2[1] == country[1] ) { in rtw_phl_query_country_chplan()
1075 if(cdmap[i].support & BIT(1)) in rtw_phl_query_country_chplan()