android_kernel_samsung_sm86.../target_if
Priyadarshnee Srinivasan 10e648c51e qcacmn: Allow only 80P80 supported frequencies for 130 opclass
Pine and Spruce supports 80P80 mode of operation in 5 GHz band
and hence opclass 130 is sent to the user application in
MESH_MAP_OPCLASS_FOR_CUR_HWMODE NL80211 command.
However, these chips support 80P80 mode of operation
only on CFI 138 and 155, but to the application all the 80 MHz
channels in the 5 GHz band are advertised as supported.
This causes the application's channel selection algorithm to fail.
The existing API reg_is_chan_supported() can determine if the input
frequency is 80P80 capable only if cfreq2 of the 80P80 channel is
provided and in reg_get_cfis_from_opclassmap_for_non6g() API, it is not
possible to determine all combinations of cfreq2 for the given primary
frequency. Hence, a call to is_freq_80p80_supported() is made to
determine if any 80P80 combination is possible for the given input
frequency.
Also, 6 GHz channels do not support 80P80 mode of operation.
reg_is_cfi_supported() does a lot of computation to find out that
80P80 is not supported. Hence, if the opclass entry
is 6 GHz 80P80, set 80p80_supported as false.

Hence, send only the supported 80P80 CFIs in the
supported channel list array in MESH_MAP_OPCLASS_FOR_CUR_HWMODE command.

CRs-Fixed: 3627501
Change-Id: Ib5d3e872b34b8df81b8466e877b10f2fd4e68e40
2023-11-14 05:29:17 -08:00
..
cfr qcacmn: CFR buffer length calculation for QCN6432 2023-09-28 23:09:11 -07:00
core qcacmn: Send standby pdev info to FW 2023-09-25 05:17:23 -07:00
cp_stats qcacmn: Add support to extract RRM sta stats 2023-08-13 23:58:15 -07:00
crypto qcacmn: cleanup key_rsc_counter pointer from set key param 2022-08-29 10:00:47 -07:00
dcs qcacmn: Fix target_if documentation 2023-03-07 09:33:26 -08:00
dfs qcacmn: Add missing dot at the end of copyright header 2023-03-21 13:52:24 -07:00
direct_buf_rx qcacmn: DBR Support extract standalone sounding CQI metadata 2023-08-29 15:05:08 -07:00
dispatcher/inc qcacmn: Fix target_if documentation 2023-03-07 09:33:26 -08:00
dp qcacmn: Fix target_if documentation 2023-03-07 09:33:26 -08:00
ftm qcacmn: Fix target_if documentation 2023-03-07 09:33:26 -08:00
global_shmem/inc qcacmn: Separate global shmem generic APIs from REO 2022-03-23 06:28:21 -07:00
gpio qcacmn: Add and enable GPIO Component 2020-10-08 15:33:59 -07:00
green_ap qcacmn: Fix compilation warnings on x86 2023-09-12 23:35:21 -07:00
init_deinit qcacmn: Add check for dereferencing pointer shmem_arena_ctx 2023-10-05 14:13:23 -07:00
iot_sim qcacmn: iot_sim code cleanup 2020-06-24 03:34:48 -07:00
ipa Revert "qcacmn: WAR for opt_wifi_dp feature to disable IPA(1)" 2023-05-12 16:39:36 -07:00
mgmt_txrx qcacmn: Cleanup assert in mgmt rx reo - Part 6 2023-09-06 10:05:22 -07:00
mlme qcacmn: Switch static func of chan_width to common 2023-08-25 06:05:15 -07:00
mlo_mgr qcacmn: Add support to handle WMI_MLO_LINK_STATE_SWITCH_EVENTID 2023-09-15 21:09:43 -07:00
regulatory qcacmn: Allow only 80P80 supported frequencies for 130 opclass 2023-11-14 05:29:17 -08:00
scan qcacmn: Get new scan capability 2023-09-13 09:33:00 -07:00
son qcacmn: Define WMI_HOST_PEER_* for no host to target conversion 2022-09-16 16:31:31 -07:00
spatial_reuse qcacmn: Limit non-SRG PD threshold upto MAX allowed limit 2023-09-15 17:34:23 -07:00
spectral qcacmn: Fixes in assert cleanup in Spectral module 2023-10-19 18:49:57 -07:00
twt qcacmn: Cleanup unused TWT APIs & validation checks 2023-02-20 10:38:49 -08:00
wifi_pos qcacmn: Check Tx halt during umac reset 2023-04-14 01:54:13 -07:00