Move the cleanup code of SAP/P2P_GO type adapters to
new API and call the API from hdd_stop_adapter_ext().
Move ucfg_ipa_flush() to end of cleanup as it is specific to pdev.
New API:hdd_stop_sap_go_adapter()
Change-Id: I046312a4a928889c7be30182b27300e0b1af2fd6
CRs-Fixed: 3523806
Move the cleanup code of monitor type adapter to
new API in stop adapter.
New API: hdd_stop_mon_adapter()
Change-Id: I841f6862c1ccf068e63751869b432cb9da1cfdb6
CRs-Fixed: 3523777
Move the stop adapter logic of below OPMODEs to unified
function. The function is called on adapter level and internally
all the active links are cleaned up.
1) QDF_STA_MODE
2) QDF_P2P_CLIENT_MODE
3) QDF_NDI_MODE
4) QDF_P2P_DEVICE_MODE
5) QDF_NAN_DISC_MODE
Change-Id: I54dea594e643329d0dfc6ebb7a9dc6f411bff0eb
CRs-Fixed: 3523734
Modify the API to take link info pointer of VDEV to destroy.
The API can be used to iterate all the eligible links in adapter
during interface down.
Introduce new API deinit of vdev destroy event completion variable
and to reset all vdev IDs to invalid on open adapter.
Change-Id: I28c0fff88cac79af94bcb7df7604373150eac052
CRs-Fixed: 3523683
Move the IEs reset on SAP/P2P_GO adapter stop to new API
1) hdd_reset_ies_on_sap_stop()
Modify the below API to take link info pointer to reset VDEV
probe response IEs.
1) wlan_hdd_reset_prob_rspies()
Change-Id: Ia386be49aa19b51d97e3d9eb0368c68a2886c437
CRs-Fixed: 3523646
Move cleanup of pre cac adapter in stop adapter to new API.
New API:
1) hdd_stop_and_close_pre_cac_adapter()
Change-Id: I358349e65a0bfa2227b5d93ac6395c13dac9b442
CRs-Fixed: 3523625
Move RTPM wakelock release on monitor mode stop and session
delete to new APIs.
New APIs
1) hdd_monitor_mode_release_wakelock()
2) hdd_monitor_mode_disable_and_delete()
Change-Id: Ib1b0d060fd96dc131d54e1261cadf67e3c23e1d4
CRs-Fixed: 3523612
Move the code logic to disable active NAN discovery
in stop adapter to new API.
New API: hdd_disable_nan_active_disc()
Change-Id: I60c0c36484cdf2ddabe99a5666ccdfd9e2a0b1d5
CRs-Fixed: 3523577
Move the disconnect of connected vdev during stop adapter
for STA and P2P_CLIENT modes to new API.
New API: hdd_sta_disconnect_and_cleanup()
Change-Id: Ifd14244f6e2e538e9b07cdf2440e0998430ff0a1
CRs-Fixed: 3523561
Iterate through all the active links in adapter to restart
SAP on unsafe channels.
Change-Id: Ieb4eff375b9156b18613d42d044533094a11a352
CRs-Fixed: 3522689
Move the NDI cleanup code to new API and move
hdd_any_valid_peer_present() API to take link_info
as function argument instead of adapter.
1) hdd_any_valid_peer_present()
2) hdd_peer_cleanup()
3) hdd_stop_and_cleanup_ndi()
Change-Id: I7eccb056fa3e1fe0d90b94e8603144bc1c9e30ea
CRs-Fixed: 3523547
Move APIs related to IP notifier work callback and flow control
deregister to two new APIs.
New APIs:
1) hdd_cancel_ip_notifier_work()
2) hdd_adapter_deregister_fc()
Change-Id: Id76a92f52d80fb7e0ed52d46bb52a95b22cbd25e
CRs-Fixed: 3523483
To fill the VDEV array from adapters, loop through all the
active links in each adapter.
Change-Id: I5607a8d7afaa3a2e6df210cfff4e678050505f42
CRs-Fixed: 3523474
Modify the following APIs to take link info pointer as function
argument to reset/abort scan on the corresponding VDEV.
Also enchance the iterator to loop through all the active links
in each adapter.
1) hdd_reset_scan_operation()
2) wlan_hdd_scan_abort()
3) hdd_abort_mac_scan_all_adapters()
Change-Id: I3da827b496712bc9fbe52e7cdcf432de2210b0d8
CRs-Fixed: 3523463
Iterate through all the active links in adapter in the following
APIs to loop the VDEVs.
1) hdd_reset_all_adapters()
2) wlan_hdd_auto_shutdown_enable()
The below API is changed to take link info pointer as function
argument
1) hdd_send_twt_del_all_sessions_to_userspace()
Change-Id: I689037a11c86602e7f9a2cd1f0b66ddeaa1a4228
CRs-Fixed: 3523139
Move SR changes from WMA to Target_if and remove
WMA api's which was previously using to update
SR threshold.
Change-Id: I219cd56195471df561a5789fb235e375a14e756c
CRs-Fixed: 3374674
ACS will mark non ACS channel(filtered by PCL) to SAP_ACS_WEIGHT_MAX.
But the filtered channel still need a reasonable weight to
calculate the combined weight for ACS bw 40/80/160/320.
Assign weight value SAP_ACS_WEIGHT_ADJUSTABLE to such channels and
update it with reasonable after all channels weight are computed.
Change-Id: Iba6565a0f57cc3fe4997427733e922eefc917516
CRs-Fixed: 3537962
If precac interface is in the middle of CAC, do not
entertain any CSA request coming as part of userspace/
country change/unsafe channel handling. Processing the
Channel change request in middle of CAC leads to teardown
of the SAP as SAP is in SAP_STOPPED state.
This leads to pre-cac failure.
To fix this, prevent CSA while CAC and once CAC is finished,
check the sanity of the operating channel based on
unsafe/disable channel list and move it to a valid channel.
Change-Id: I2757753a2a13bdaef60f9b9a46fcd569ddb7306c
CRs-Fixed: 3505593
For the following iterator APIs, loop through all the active
link info in each adapter.
1) hdd_is_roaming_in_progress()
2) hdd_is_any_adapter_connected()
3) hdd_get_con_sap_adapter()
Change-Id: Ic48011f4fa2e833e2c18c1ea72b5a75d9c1e8133
CRs-Fixed: 3523126
Now that all the draft 3.0 version related changes are merged update
the draft version accordingly.
Change-Id: If6a4d1e1cef8923af03d321229bba0443f37103a
CRs-Fixed: 3545914
To report best RSSI of all the links, iterate through
all the active links in adapter.
Change-Id: I2cea05894e5e3e946ea604ec2965401334ee8c8b
CRs-Fixed: 3523109
Modify the adapter iterate function pointer
hdd_adapter_iterate_cb() to take link info pointer as
function argument. The API can be called for each
link info pointer in adapter to iterate.
Change-Id: I0908667ed34067c61e857ff2b1d30a3bbccdb31f
CRs-Fixed: 3523082
Club the almost similar implementation of of below two APIs and
refactor to a single API to enable and disable roaming on other
VDEVs.
Removed:
1) wlan_hdd_enable_roaming()
2) wlan_hdd_disable_roaming()
New API: wlan_hdd_set_roaming_state()
Change-Id: If59ca593a6a994bbc879c5fda8ae36ce34c5839a
CRs-Fixed: 3523066
Use link info pointer as function argument for the
following channel change notifying APIs to call
for each link info corresponding to the VDEV.
1) hdd_roam_channel_switch_handler()
2) hdd_chan_change_notify()
3) hdd_hostapd_chan_change()
Change-Id: Ic78f8ee88524ede97a53c0d4f8b88cff7ed7a3e5
CRs-Fixed: 3523026
In wlan_hdd_check_dfs_channel_for_adapter() API iterate all
the active links to check for DFS channel.
Change-Id: I70aae483f5184f046c33623c030b46caba2e93f0
CRs-Fixed: 3523006
To save the connection info of each VDEV in adapter,
modify the following APIs to have link info pointer
as function argument.
1) hdd_cm_save_connect_status()
2) hdd_cm_save_bss_info()
3) hdd_cm_save_connect_info()
Change-Id: I2c8208f9807f68c9afd2d8ce9c0d473954b906a3
CRs-Fixed: 3522994
In __wlan_hdd_cfg80211_suspend_wlan() API iterate through
all active links in adapter to loop through all the VDEVs.
Change-Id: I7692c89596557a2fc264446928e0075d414336e0
CRs-Fixed: 3522985
Refactor the following APIs to iterate all the links in
the adapter and add vdev_id argument to packet filter APIs
to configure each VDEV in the process of iterating adapter.
1) hdd_resume_wlan()
2) hdd_suspend_wlan()
3) hdd_disable_default_pkt_filters()
4) hdd_enable_default_pkt_filters()
Change-Id: I6dd439dfbf1cb94f0a195fd3eed91007b61f403c
CRs-Fixed: 3522971
Iterate through all the active links in the adapter to check
for any SAP on DFS channel.
Change-Id: I2d84edc2a8cb8d3c8410c9e7e4badfa0fb2215ea
CRs-Fixed: 3522948
In LFR-3.0 roaming case, AID is not updated to the wma iface.
So when CSA happens after roaming, AID received from older AP
before roaming is sent to the firmware. This results in the
device not listening to TIM set with buffered frames for the
device AID
Fill AID of the roamed AP to wma iface
Change-Id: I2082eb3451679e34ea6a128ae9f51634c34d276b
CRs-Fixed: 3532814
Disable Operating Channel Validation (OCV) by default for
connections with Wi-Fi 7 APs in 11BE mode as per WFA
recommendation to avoid IOT issues with Wi-Fi 7 APs in the
future.
Change-Id: Iecdabdda1f645300fd9d8c2821a985771e60ce2e
CRs-Fixed: 3534392
For STA+SAP/GO concurrency support from GUI, In case if
START/STOP AP/GO request comes just before the SAE
authentication completion on STA, SAE AUTH REQ waits for
START/STOP AP RSP and START/STOP AP RSP waits to complete
SAE AUTH REQ.
Driver completes START/STOP AP RSP only upon SAE AUTH REQ
timeout(5 sec) as start/stop ap will be in serialization
pending queue, and SAE auth sequence cannot complete as
hostap thread is blocked in start/stop ap cfg80211 ops.
To avoid above deadlock until SAE timeout, abort the SAE
connection immediately and complete START/STOP AP/GO asap
so that the upper layer can trigger a fresh connection
after START/STOP AP/GO completion.
Change-Id: I96de1bb27dfc669ccf920a90cf86a3cb54e68354
CRs-Fixed: 3452943
Currently in host support is there for SET_FCC_CHANNEL
command for values 0, -1, 1.
Add changes to support SET_FCC_CHANNEL command for value 2.
Change-Id: Ia67eceb5dffc6f806995bb03755008b19e98178a
CRs-Fixed: 3537394
The issue has been addressed in the supplicant.
So revert change: I89b501fc4da8615ddb8973e5edce73294793558f
Change-Id: I02b74a512c97803c597942c1ea00e3a02fbf4599
CRs-Fixed: 3544617
Multiple include directories only contains .c source files
without any .h header files. Hence remove those include
compiler options.
Add monitor include path under feature flag
CONFIG_WIFI_MONITOR_SUPPORT.
Change-Id: Iec59a592c60b27cb22bf712e883dd5895044874a
CRs-Fixed: 3543857