As part of change I71de90d5fb88462e52148a434d43ea80c41cfe36
("qcacld-3.0: Move Channel convert and frame indication logic to
lim_utils.c") the usage of field p2pGoPsNoaStartInd in struct
pe_session was removed. However the field itself was left behind, so
remove it now.
Change-Id: I1d6965587b0387ecd6e1822a774f874d922d90c0
CRs-Fixed: 2380110
Change I8876a4d4b99948cd9ab3ccec403cf5e4050b1cff ("qcacld-3.0: Fix
layering violation while handling management frames") removed the only
usage of tDphHashNode field proct_deauh_disassoc_cnt. Since it is
obsolete, remove it.
Change-Id: If4adb4bfb704cc6721796faca9dce2dfff844b6b
CRs-Fixed: 2380108
There are currently two separate MAC Trace APIs, mac_trace() and
mac_trace_new(). Since these ultimately result in a call to
qdf_trace(), and since only mac_trace() is widely called, consolidate
these two APIs into a single mac_trace() API. In addition, make this a
static inline to eliminate an unnecessary function call at every call
site and to fully take advantage of the conditional expansion of
qdf_trace().
Change-Id: I71101cc076a19ae8dad26c743f726c94571ae8a1
CRs-Fixed: 2380107
Change I67a589133e58fd7740d7edc93d32a2d9fcd14c5a ("qcacld-3.0: Cleanup
unused scan params and ini") removed the following legacy CFG items:
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME
However this change left behind the associated MIN/MAX/DEF macros
which are now unused, so remove the following:
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STAMIN
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STAMAX
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STADEF
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STAMIN
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STAMAX
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STADEF
Change-Id: I0da08ee379b754f7724754b497825de2372685c4
CRs-Fixed: 2380106
The macros WLAN_WAIT_TIME_POWER and WLAN_WAIT_TIME_POWER_STATS are
unused, so remove them.
Change-Id: Idb9e39036688a2f02d33e08acc488798553bac36
CRs-Fixed: 2380104
In function wma_update_hw_mode_list, hw_config_type should be read from
the same mac-phy config array to check if next array could be for used
for MAC1 SS_bw settings bas on hw_config_type.
Change-Id: If787b127b5cf0f811344b3322ba84c2956543e14
CRs-Fixed: 2381784
WIPHY features are populated before FW offload object is
initialized. Thus use direct config values for SAE and GCMP
WIPHY features.
Change-Id: Ic1b84c8709a0347fa22773786c0d5af32426e8fc
CRs-fixed: 2376983
Fix compilation error caused after TSF PTP Options INI item
is moved to CFG component from HDD config.
Change-Id: I0c39fb4eb546ebd236d82e684aff7010512c74f9
CRs-fixed: 2380983
2g vht20 config should be decided by both capability indicated
by target and ini config. Only when F/W indicates 2g vht20
supported and ini config gEnableVhtFor24GHzBand=1, 2g vht20 is
enabled.
Change-Id: I5b7ad8f82b6000096327c501dc84ad05480ef0fd
CRs-Fixed: 2381514
All usage of the ht_capability_fields enums have been removed from the
driver. Since the enum is now unused, remove it.
Change-Id: I0b81b4b93d9dd2deffc6230dbf614281c5a8ebbd
CRs-Fixed: 2379070
The following DFS-related fields in tAniSirLim are no longer used, so
remove them:
- gLimDfsChanSwTxCount
- gLimDfsTargetChanNum
Change-Id: I093a7714018e4470e20c528f5bce199f5424367e
CRs-Fixed: 2379069
The gLimProbeRespDisableFlag field in tAniSirLim is initialized, but
is otherwise never modified, hence it serves no purpose. Therefore
remove it.
Change-Id: I053ad8f37b8be31d2f6ad261063c26a1e55c951f
CRs-Fixed: 2379068
The following fields in tAniSirLim are unused, so remove them:
- gLimQosEnabled
- gLimWmeEnabled
- gLimWsmEnabled
- gLimHcfEnabled
- gLim11dEnabled
Change-Id: Ia60a25172bbf47b77e6d15d7feb1fe3dd8563a1b
CRs-Fixed: 2379067
Put spinlock when adapter->history_index is getting incremented.
There is possibility of race condition in the increment of
adapter->history_index as there are multiple call paths that
invoke wlan_hdd_netif_queue_control() that are not all within
the same thread.
Since the check is to see if it equals the max value, we can
exceed the bounds of the array on the next invocation of this
function, resulting in a OOB.
Change-Id: I0d127b2e47bee32cd0b8a0281c6213895f3d4960
CRs-Fixed: 2370801
It set roam offload flag to FW when vdev type is sta in
wma_vdev_attach, FW team think this isn't reasonable since it wastes
FW memory if sta isn't disconnected. And required to set this flag
when connected to AP, remove this flag after disconnect from AP.
Change-Id: I5edfb8d5a2cec0e2ffdf34349c99d477860f1339
CRs-Fixed: 2367135
Change Ia0fa016b174ef4b50e2cc339e4e476ec65642dbf ("qcacld-3.0: Use dfs
component support") removed all usage of struct wma_dfs_radar_ind.
Since it is now obsolete, remove the struct.
Change-Id: I9930dff34224a02f6a8bdc9a7fcdb362da1eb1bb
CRs-Fixed: 2379065
Change Iee7274fbc8ae985d034a29f920faa38aab68ccc7 ("qcacld-3.0: Add
VDEV state machine for STA disconnection") removed the implementation
of function wma_sta_send_vdev_down_bss(). However it left behind the
prototype, so remove it now.
Change-Id: Ia43371f6c86632955f67370d3ffc9b2753f797f7
CRs-Fixed: 2379064
Change Ibeb6f99335b4e745335d5968791d9e9187df47f7 ("qcacld-3.0: Remove
legacy scan event handling") removed the implementation of function
wma_scan_event_callback(). However the prototype was left behind, so
remove it now.
Change-Id: I34cd7fa0e9d28c10d73f1000284148eaece042f5
CRs-Fixed: 2379063
Change Ie3783306e0ff5b8a5bbcb6437e982590b03fe040 ("qcacld-3.0: Use
scan for preauth from LIM in roaming") removed all of the roaming
preauth logic from WMA, but it left behind some obsolete protptypes,
so remove these:
- wma_roam_preauth_chan_set()
- wma_roam_preauth_chan_cancel()
- wma_roam_preauth_scan_event_handler()
Change-Id: I9236f641fb80df0e5a6749781adb5af86d8b821b
CRs-Fixed: 2379062
As part of change I5c873b9571228f0d2b4fcd4782267a2cc40fc20a
("qcacld-3.0: Remove the deprecated IOCTL in TDLS") the implementation
of wma_update_fw_tdls_state() was removed. However the prototype was
left behind, so remove it as well.
Change-Id: Ibb08e9f8c8c39eac364b05e72d7c03db306cc8b3
CRs-Fixed: 2379061
Change I542e5afe832619f8c088220cc4456aa7fe4416fd ("qcacld-3.0: Route
the legacy NAN commands through NAN component") removed the usage of
typedef tNanRequest. Since the typedef is obsolete, remove it.
Change-Id: I10e243b4e6998e69027c2f0d5f829cd2a6b27c92
CRs-Fixed: 2379059
The following macros are unused, so remove them :
- wlan_hdd_get_mbo_ie_ptr()
- wlan_hdd_get_p2p_ie_ptr()
- wlan_hdd_get_wfd_ie_ptr()
Change-Id: I37d84802f97881aaa3de1a604f7f29362d868667
CRs-Fixed: 2380103
All WNI configurations will be cleanup based on new cfg framework, so
change Change WNI_CFG_COUNTRY_CODE_LEN to CFG_COUNTRY_CODE_LEN.
Change-Id: I786b62e2c0aff08a89fc3c8a3359e2ffb4044269
CRs-Fixed: 2380488
Currently the driver includes all the DFS channels as part of scan
in the scan list, and thus not exclude the DFS channels in the first
scan for faster scan.
Fix is to check the ini, for first DFS channel scan, and then remove
the DFS channels from the scan list if the ini is enabled.
Change-Id: Iff3361f3c1a577fd8e2b541a0673af431db65a5e
CRs-Fixed: 2378801
New mtrace logging infrastructre is added in the driver,
add mtrace logging for all the messages received from
userspace.
Change-Id: I235f7f8c890b16644d272328124f7a7b7a67f4c5
CRs-Fixed: 2376767
Cleanup the below INI items from HDD.
1.CFG_ENABLE_UL_MIMO_NAME
2.CFG_HE_DYNAMIC_FRAGMENTATION_NAME
3.CFG_ENABLE_UL_OFDMA_NAME
4.CFG_HE_STA_OBSSPD_NAME.
Change-Id: I6321035c14cfd03c1c57fd68b5394c84ed9e1f2c
CRs-Fixed: 2375905
Take VDEV manager SM into consideration, the SME session creation
needs to be combined with VDEV start. So in the monitor mode, need
to postpone SME session creation from net device up to the channel
setting. This change will be applied no matter VDEV manager SM
enable or not.
CRs-Fixed: 2345543
Change-Id: I1b28abd6746ba851608464101a42ac14074e7c41
iwpriv interface is added for configuring Motion detection
feature specific parameters
Added under flag WLAN_FEATURE_MOTION_DETECTION
Change-Id: Ic20c8c43782cf037317f412962fab4a6928eb0b9
CRs-Fixed: 2376722
There is a race condition while flushing the rx cache frames
from MC thread and same time from RX thread. So for rx cache
frames set QDF_NBUF_CB_RX_PEER_CACHED_FRM to avoid using gro
receive and use skb receive with local bh disable.
Change-Id: I5ece8ddf876d27ad3d24b0ba751fe3e3886608e2
CRs-Fixed: 2378342
A bus can have multiple sub interfaces or pipes.
USB bus for example has endpoints grouped into interfaces.
WLAN uses one of these interfaces.
Each interface has its own "struct device". Add support to save
and retrieve this "struct device".
Also pass interface dev to pld_usb_wlan_enable() as CNSS expects
interface device.
Change-Id: I5800bde107157c35efed848a23b95696bd7f793a
CRs-Fixed: 2371440