| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_vht.c | 999 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 1036 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1040 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1046 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 1051 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 1055 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1058 …while ((req_chplan && !rtw_country_chplan_is_chbw_valid(req_chplan, BAND_ON_5G, oper_ch, oper_bw, … in rtw_restructure_vht_ie() 1059 || (!req_chplan && !rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1)) in rtw_restructure_vht_ie() 1062 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1064 oper_bw--; in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 5083 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 5088 oper_bw = padapter->mlmeextpriv.cur_bwmode; 5089 if (oper_bw > CHANNEL_WIDTH_40) 5090 oper_bw = CHANNEL_WIDTH_40; 5093 oper_bw = CHANNEL_WIDTH_40; 5100 oper_bw = CHANNEL_WIDTH_40; 5104 oper_bw = CHANNEL_WIDTH_40; 5112 if (oper_bw == CHANNEL_WIDTH_40 && p && ielen == HT_OP_IE_LEN) { 5117 rtw_get_offset_by_chbw(primary_ch, oper_bw, &oper_offset); 5135 if(oper_bw == CHANNEL_WIDTH_40){ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_vht.c | 999 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 1036 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1040 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1046 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 1051 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 1055 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1058 …while ((req_chplan && !rtw_country_chplan_is_chbw_valid(req_chplan, BAND_ON_5G, oper_ch, oper_bw, … in rtw_restructure_vht_ie() 1059 || (!req_chplan && !rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1)) in rtw_restructure_vht_ie() 1062 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1064 oper_bw--; in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 5056 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 5061 oper_bw = padapter->mlmeextpriv.cur_bwmode; 5062 if (oper_bw > CHANNEL_WIDTH_40) 5063 oper_bw = CHANNEL_WIDTH_40; 5066 oper_bw = CHANNEL_WIDTH_40; 5073 oper_bw = CHANNEL_WIDTH_40; 5077 oper_bw = CHANNEL_WIDTH_40; 5085 if (oper_bw == CHANNEL_WIDTH_40 && p && ielen == HT_OP_IE_LEN) { 5090 rtw_get_offset_by_chbw(primary_ch, oper_bw, &oper_offset); 5108 if(oper_bw == CHANNEL_WIDTH_40){ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_vht.c | 940 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 977 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 981 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 987 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 992 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 996 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 999 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1) in rtw_restructure_vht_ie() 1002 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1004 oper_bw--; in rtw_restructure_vht_ie() 1005 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 4719 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 4724 oper_bw = padapter->mlmeextpriv.cur_bwmode; 4725 if (oper_bw > CHANNEL_WIDTH_40) 4726 oper_bw = CHANNEL_WIDTH_40; 4729 oper_bw = CHANNEL_WIDTH_40; 4736 oper_bw = CHANNEL_WIDTH_40; 4740 oper_bw = CHANNEL_WIDTH_40; 4747 if(oper_bw == CHANNEL_WIDTH_40){ 4750 oper_bw = GET_HT_CAP_ELE_CHL_WIDTH(p + 2) ? CHANNEL_WIDTH_40 : CHANNEL_WIDTH_20; 4751 if(oper_bw == CHANNEL_WIDTH_20) [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_vht.c | 941 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 978 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 982 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 988 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 993 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 997 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1000 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1) in rtw_restructure_vht_ie() 1003 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1005 oper_bw--; in rtw_restructure_vht_ie() 1006 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 5210 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 5215 oper_bw = padapter->mlmeextpriv.cur_bwmode; 5216 if (oper_bw > CHANNEL_WIDTH_40) 5217 oper_bw = CHANNEL_WIDTH_40; 5220 oper_bw = CHANNEL_WIDTH_40; 5227 oper_bw = CHANNEL_WIDTH_40; 5231 oper_bw = CHANNEL_WIDTH_40; 5238 if(oper_bw == CHANNEL_WIDTH_40){ 5241 oper_bw = GET_HT_CAP_ELE_CHL_WIDTH(p + 2) ? CHANNEL_WIDTH_40 : CHANNEL_WIDTH_20; 5242 if(oper_bw == CHANNEL_WIDTH_20) [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_vht.c | 941 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 978 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 982 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 988 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 993 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 997 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1000 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1) in rtw_restructure_vht_ie() 1003 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1005 oper_bw--; in rtw_restructure_vht_ie() 1006 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 5192 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 5197 oper_bw = padapter->mlmeextpriv.cur_bwmode; 5198 if (oper_bw > CHANNEL_WIDTH_40) 5199 oper_bw = CHANNEL_WIDTH_40; 5202 oper_bw = CHANNEL_WIDTH_40; 5209 oper_bw = CHANNEL_WIDTH_40; 5213 oper_bw = CHANNEL_WIDTH_40; 5220 if(oper_bw == CHANNEL_WIDTH_40){ 5223 oper_bw = GET_HT_CAP_ELE_CHL_WIDTH(p + 2) ? CHANNEL_WIDTH_40 : CHANNEL_WIDTH_20; 5224 if(oper_bw == CHANNEL_WIDTH_20) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_vht.c | 945 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 982 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 986 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 992 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 997 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 1001 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1004 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1) in rtw_restructure_vht_ie() 1007 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1009 oper_bw--; in rtw_restructure_vht_ie() 1010 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_vht.c | 941 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 978 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 982 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 988 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 993 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 997 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1000 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset) in rtw_restructure_vht_ie() 1003 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1005 oper_bw--; in rtw_restructure_vht_ie() 1006 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 4559 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 4564 oper_bw = padapter->mlmeextpriv.cur_bwmode; 4565 if (oper_bw > CHANNEL_WIDTH_40) 4566 oper_bw = CHANNEL_WIDTH_40; 4569 oper_bw = CHANNEL_WIDTH_40; 4576 oper_bw = CHANNEL_WIDTH_40; 4580 oper_bw = CHANNEL_WIDTH_40; 4589 if (oper_bw == CHANNEL_WIDTH_40 4591 && (!rtw_chset_is_chbw_valid(chset, channel, oper_bw, oper_offset) 4594 && rtw_chset_is_chbw_non_ocp(chset, channel, oper_bw, oper_offset)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_vht.c | 941 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 978 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 982 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 988 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 993 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 997 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1000 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset) in rtw_restructure_vht_ie() 1003 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1005 oper_bw--; in rtw_restructure_vht_ie() 1006 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 4559 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 4564 oper_bw = padapter->mlmeextpriv.cur_bwmode; 4565 if (oper_bw > CHANNEL_WIDTH_40) 4566 oper_bw = CHANNEL_WIDTH_40; 4569 oper_bw = CHANNEL_WIDTH_40; 4576 oper_bw = CHANNEL_WIDTH_40; 4580 oper_bw = CHANNEL_WIDTH_40; 4589 if (oper_bw == CHANNEL_WIDTH_40 4591 && (!rtw_chset_is_chbw_valid(chset, channel, oper_bw, oper_offset) 4594 && rtw_chset_is_chbw_non_ocp(chset, channel, oper_bw, oper_offset)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_vht.c | 933 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 970 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 974 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 980 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 985 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 989 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 992 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1) in rtw_restructure_vht_ie() 995 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 997 oper_bw--; in rtw_restructure_vht_ie() 998 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 4883 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 4888 oper_bw = padapter->mlmeextpriv.cur_bwmode; 4889 if (oper_bw > CHANNEL_WIDTH_40) 4890 oper_bw = CHANNEL_WIDTH_40; 4893 oper_bw = CHANNEL_WIDTH_40; 4900 oper_bw = CHANNEL_WIDTH_40; 4904 oper_bw = CHANNEL_WIDTH_40; 4911 if(oper_bw == CHANNEL_WIDTH_40){ 4914 oper_bw = GET_HT_CAP_ELE_CHL_WIDTH(p + 2) ? CHANNEL_WIDTH_40 : CHANNEL_WIDTH_20; 4915 if(oper_bw == CHANNEL_WIDTH_20) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_vht.c | 942 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 979 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 983 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 989 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 994 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 998 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1001 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset) in rtw_restructure_vht_ie() 1004 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1006 oper_bw--; in rtw_restructure_vht_ie() 1007 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 4608 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; local 4613 oper_bw = padapter->mlmeextpriv.cur_bwmode; 4614 if (oper_bw > CHANNEL_WIDTH_40) 4615 oper_bw = CHANNEL_WIDTH_40; 4618 oper_bw = CHANNEL_WIDTH_40; 4625 oper_bw = CHANNEL_WIDTH_40; 4629 oper_bw = CHANNEL_WIDTH_40; 4636 if(oper_bw == CHANNEL_WIDTH_40){ 4639 … oper_bw = GET_HT_CAP_ELE_CHL_WIDTH(p + 2) ? CHANNEL_WIDTH_40 : CHANNEL_WIDTH_20; 4640 if(oper_bw == CHANNEL_WIDTH_20) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_vht.c | 944 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 981 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 985 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 991 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 996 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 1000 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1003 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1) in rtw_restructure_vht_ie() 1006 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1008 oper_bw--; in rtw_restructure_vht_ie() 1009 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_vht.c | 999 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; in rtw_restructure_vht_ie() local 1036 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1040 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1046 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 1051 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 1055 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1058 while (!rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1) in rtw_restructure_vht_ie() 1061 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1063 oper_bw--; in rtw_restructure_vht_ie() 1064 if (oper_bw == CHANNEL_WIDTH_20) { in rtw_restructure_vht_ie() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_vht.c | 1165 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = CHAN_OFFSET_NO_EXT; in rtw_restructure_vht_ie() local 1202 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1206 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1212 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 1217 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 1221 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1224 …while ((req_chplan && !rtw_country_chplan_is_chbw_valid(req_chplan, BAND_ON_5G, oper_ch, oper_bw, … in rtw_restructure_vht_ie() 1225 || (!req_chplan && !rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1)) in rtw_restructure_vht_ie() 1228 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1230 oper_bw--; in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 4209 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = CHAN_OFFSET_NO_EXT; in rtw_restructure_ht_ie() local 4214 oper_bw = padapter->mlmeextpriv.chandef.bw; in rtw_restructure_ht_ie() 4215 if (oper_bw > CHANNEL_WIDTH_40) in rtw_restructure_ht_ie() 4216 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4219 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4226 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4230 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4237 if(oper_bw == CHANNEL_WIDTH_40){ in rtw_restructure_ht_ie() 4240 oper_bw = GET_HT_CAP_ELE_CHL_WIDTH(p + 2) ? CHANNEL_WIDTH_40 : CHANNEL_WIDTH_20; in rtw_restructure_ht_ie() 4241 if(oper_bw == CHANNEL_WIDTH_20) in rtw_restructure_ht_ie() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_vht.c | 1169 u8 oper_ch, oper_bw = CHANNEL_WIDTH_20, oper_offset = CHAN_OFFSET_NO_EXT; in rtw_restructure_vht_ie() local 1206 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1210 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_vht_ie() 1216 if (oper_bw == CHANNEL_WIDTH_40) { in rtw_restructure_vht_ie() 1221 oper_bw = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in rtw_restructure_vht_ie() 1225 oper_bw = rtw_min(oper_bw, max_bw); in rtw_restructure_vht_ie() 1228 …while ((req_chplan && !rtw_country_chplan_is_chbw_valid(req_chplan, BAND_ON_5G, oper_ch, oper_bw, … in rtw_restructure_vht_ie() 1229 || (!req_chplan && !rtw_chset_is_chbw_valid(chset, oper_ch, oper_bw, oper_offset, 1, 1)) in rtw_restructure_vht_ie() 1232 && rtw_chset_is_chbw_non_ocp(chset, oper_ch, oper_bw, oper_offset)) in rtw_restructure_vht_ie() 1234 oper_bw--; in rtw_restructure_vht_ie() [all …]
|
| H A D | rtw_mlme.c | 4240 u8 oper_bw = CHANNEL_WIDTH_20, oper_offset = CHAN_OFFSET_NO_EXT; in rtw_restructure_ht_ie() local 4245 oper_bw = padapter->mlmeextpriv.chandef.bw; in rtw_restructure_ht_ie() 4246 if (oper_bw > CHANNEL_WIDTH_40) in rtw_restructure_ht_ie() 4247 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4250 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4257 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4261 oper_bw = CHANNEL_WIDTH_40; in rtw_restructure_ht_ie() 4268 if(oper_bw == CHANNEL_WIDTH_40){ in rtw_restructure_ht_ie() 4271 oper_bw = GET_HT_CAP_ELE_CHL_WIDTH(p + 2) ? CHANNEL_WIDTH_40 : CHANNEL_WIDTH_20; in rtw_restructure_ht_ie() 4272 if(oper_bw == CHANNEL_WIDTH_20) in rtw_restructure_ht_ie() [all …]
|