#
f1ea2920 |
| 22-Jun-2023 |
Thirusenthil Kumaran J <quic_thirusen@quicinc.com> |
qcacmn: Set the VAP flag to block Tx after radar is hit
The change 'I4acd2f70707386f731e9b8fa2ef90a37868cbe23' makes modifications in MLME and DP (Data Path) to optimize the check for radar in per p
qcacmn: Set the VAP flag to block Tx after radar is hit
The change 'I4acd2f70707386f731e9b8fa2ef90a37868cbe23' makes modifications in MLME and DP (Data Path) to optimize the check for radar in per packet transmission path to reduce CPU processing overheads. This new check is based on a VAP variable that indicates whether radar is detected or not.
Upon radar detection, send an indication to MLME through the registered callbacks to update the status of the flag.
Change-Id: Id0582b5d79be672949f150907eb9ee64fa17d4f7 CRs-Fixed: 3528956
show more ...
|
#
ef864278 |
| 23-Aug-2022 |
Vijay Krishnan <quic_vijkri@quicinc.com> |
qcacmn: Validate the proposed bitmap and enable puncturing
When radar is found in any DFS channel, a radar bitmap is generated based on the radar infected channels. For example, if operating channel
qcacmn: Validate the proposed bitmap and enable puncturing
When radar is found in any DFS channel, a radar bitmap is generated based on the radar infected channels. For example, if operating channel is 100 HT160 and radar found in 112, then the generated bitmap is B0000_0010. This proposed bitmap is compared with the valid puncturing patterns. In this case, the proposed bitmap is valid puncturing pattern.
In case of a valid puncturing pattern, send the final bitmap to DFS module and the module updates the DFS channel puncturing pattern. If an invalid puncturing pattern is found, return value zero and do not update DFS channel puncturing pattern.
CRs-Fixed: 3273800 Change-Id: Iee23ac267bfea1b4815a72c2728555f96bed6466
show more ...
|
#
88c125a6 |
| 16-Sep-2021 |
Huashan Qu <hqu@codeaurora.org> |
qcacmn: Rename QCA_MCL_DFS_SUPPORT to MOBILE_DFS_SUPPORT
Rename QCA_MCL_DFS_SUPPORT to MOBILE_DFS_SUPPORT.
Change-Id: Ic209f76e3a9b1a7a524d7036a0fef7ca044d4ca8 CRs-Fixed: 3038271
|
#
433c6f02 |
| 26-Apr-2021 |
Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> |
qcacmn: Cleanup code under CONFIG_CHAN_NUM_API feature flag
As part of regulatory cleanup, Cleanup code under CONFIG_CHAN_NUM_API feature flag.
Change-Id: I3add81605ea939b3631396154ed3f07f59493f24
qcacmn: Cleanup code under CONFIG_CHAN_NUM_API feature flag
As part of regulatory cleanup, Cleanup code under CONFIG_CHAN_NUM_API feature flag.
Change-Id: I3add81605ea939b3631396154ed3f07f59493f24 CRs-Fixed: 2953646
show more ...
|
#
dcd62f69 |
| 07-Apr-2021 |
Vignesh Mohan <vignmoha@codeaurora.org> |
qcacmn: Remove redundant DFS APIs
Remove the redundant DFS APIs dfs_mlme_get_dfs_channels_for_freq and dfs_nol_timeout.
Change-Id: I9c93c27c3d575228a2e8102660b395beb040dcce
|
#
ef567412 |
| 15-May-2021 |
Jianmin Zhu <jianminz@codeaurora.org> |
qcacmn: Remove the unused CHAN_NUM functions
Clean up following functions: dfs_mark_precac_done dfs_unmark_precac_nol/utils_dfs_unmark_precac_nol dfs_mlme_start_csa/mlme_start_csa dfs_mlme_get_extch
qcacmn: Remove the unused CHAN_NUM functions
Clean up following functions: dfs_mark_precac_done dfs_unmark_precac_nol/utils_dfs_unmark_precac_nol dfs_mlme_start_csa/mlme_start_csa dfs_mlme_get_extchan/mlme_get_extchan dfs_fill_chan_info utils_dfs_get_channel_list dfs_clear_nolhistory dfs_getchanstate dfs_radar_enable os_timer_func dfs_cac_timeout
Change-Id: Id0775ba34b6f1f6c7fedaea9711d81ca07956c70 CRs-Fixed: 2946423
show more ...
|
#
ae12eefb |
| 29-Jan-2021 |
Priyadarshnee <priys@codeaurora.org> |
qcacmn: Add an API to process spoof completion
Add function declaration for mlme_proc_spoof_success API and its corresponding function pointers. This API is used to process spoof completion status f
qcacmn: Add an API to process spoof completion
Add function declaration for mlme_proc_spoof_success API and its corresponding function pointers. This API is used to process spoof completion status from FW.
Change-Id: Ia25ffd01619a0c9d1e5a1bc4c20623b75ee8d75e
show more ...
|
#
901ac719 |
| 11-Dec-2020 |
Vijay Krishnan <vijkri@codeaurora.org> |
qcacmn: Move WIN specific DFS features to WIN code
Move the WIN only DFS features from common code to WIN specific Component dev. The following features are moved. 1. WIN Hardware mode switch. 2. St
qcacmn: Move WIN specific DFS features to WIN code
Move the WIN only DFS features from common code to WIN specific Component dev. The following features are moved. 1. WIN Hardware mode switch. 2. StaDFS 3. dfs_set_nol 4. nol_history
CRs-Fixed: 2834311 Change-Id: I6c74dd13a16acb2a67bb3b477b13bc0e4ee165ce
show more ...
|
#
ba9e7a24 |
| 11-Sep-2020 |
sheenam monga <shebala@codeaurora.org> |
qcacmn: Avoid excessive logging
Issue: log level for some frequent prints is set to info those logs would be present in dmesg as well as driver logs and System performance may get affected due to ex
qcacmn: Avoid excessive logging
Issue: log level for some frequent prints is set to info those logs would be present in dmesg as well as driver logs and System performance may get affected due to excessive logging.
Fix: Avoid redundant logs which may affect system performance and change default log level to debug.
Change-Id: I053e95806884eab26c37340823b818c9e3c81036 CRs-Fixed: 2771412
show more ...
|
#
30d40933 |
| 20-Aug-2020 |
Vijay Krishnan <vijkri@codeaurora.org> |
qcacmn: Remove dfs_mlme_mark_dfs_for_freq function
The function dfs_mlme_mark_dfs_for_freq was introduced as a counterpart of dfs_mlme_mark_dfs but both implement same functionality. In order to rem
qcacmn: Remove dfs_mlme_mark_dfs_for_freq function
The function dfs_mlme_mark_dfs_for_freq was introduced as a counterpart of dfs_mlme_mark_dfs but both implement same functionality. In order to remove redundancy, remove dfs_mlme_mark_dfs_for_freq. Replace the references to dfs_mlme_mark_dfs_for_freq with dfs_mlme_mark_dfs.
CRs-Fixed: 2738831 Change-Id: I567861e4491802d73549670dfd30113b1a773d07
show more ...
|
#
b820d97f |
| 07-Sep-2020 |
Hariharan Basuthkar <hbasuthk@codeaurora.org> |
qcacmn: Check if inter-band switch is allowed in random channel selection
During DFS random channel selection, in the function utils_dfs_get_channel_list, check if inter-band channel switch is allow
qcacmn: Check if inter-band switch is allowed in random channel selection
During DFS random channel selection, in the function utils_dfs_get_channel_list, check if inter-band channel switch is allowed before adding the inter-band channels in the channel list, from which a random channel is selected as the target channel.
Change-Id: I3f6c88788819039c4b562b462a922edf1baafe12 CRs-Fixed: 2771640
show more ...
|
#
d96e6d03 |
| 06-Aug-2020 |
Vignesh U <uvignesh@codeaurora.org> |
qcacmn: Move RCSA and NOL IE related code under a function
The RCSA and NOL IE are win specific and need to be moved into a function.
Change-Id: I5bb68279b4747ca61a4e4a7c4a6d78818ee4be86 CRs-Fixed:
qcacmn: Move RCSA and NOL IE related code under a function
The RCSA and NOL IE are win specific and need to be moved into a function.
Change-Id: I5bb68279b4747ca61a4e4a7c4a6d78818ee4be86 CRs-Fixed: 2737134
show more ...
|
#
53f1d00e |
| 23-Jul-2020 |
Vijay Krishnan <vijkri@codeaurora.org> |
qcacmn: Remove references to CHAN_NUM_API
CONFIG_CHAN_NUM_API macro will be disabled. Remove all the references to any function defined/declared under the macro. The function reg_get_channel_list_wi
qcacmn: Remove references to CHAN_NUM_API
CONFIG_CHAN_NUM_API macro will be disabled. Remove all the references to any function defined/declared under the macro. The function reg_get_channel_list_with_power was placed under CHAN_NUM_API by mistake. This API does not have any CHAN_FREQ_API counterpart. Therefore, move this function out of CHAN_NUM_API macro.
The function dfs_send_radar_ind_for_freq is redundant as its counterpart dfs_send_radar_ind has the same arguments and same functionality, removing the function dfs_send_radar_ind_for_freq. The function dfs_send_radar_ind is moved out of CHAN_NUM_API macro.
The function wlan_reg_chan_to_freq, wlan_reg_legacy_chan_to_freq is moved out of CONFIG_CHAN_NUM_API macro. Since it is applicable for legacy bands.
CRs-Fixed: 2711600 Change-Id: Ib29be638c17ce51f928c865e362ac5b2b8954b42
show more ...
|
#
86eba590 |
| 23-Oct-2019 |
Vignesh Mohan <vignmoha@codeaurora.org> |
qcacmn: Reinit DFS after HW mode switch (phase 2)
Supported dynamic HW mode switches: DBS (full band 5G and 2G) <-> DBS_SBS (low band 5G, high band 5G and 2G)
Description of the changes:
1. NOL co
qcacmn: Reinit DFS after HW mode switch (phase 2)
Supported dynamic HW mode switches: DBS (full band 5G and 2G) <-> DBS_SBS (low band 5G, high band 5G and 2G)
Description of the changes:
1. NOL conversion: a. Introduce a temporary NOL list copy structure in DFS psoc obj. b. When mode switch is triggered: i. Stop the NOL timers and clear the data, to avoid processing NOL expiry during mode switch. ii. Allocate the psoc NOL copy for the target num_radios. iii. Store the NOL data of each radio to the target pdev ID (pdev ID after mode switch) in the psoc NOL copy, using a unified mux/demux API. c. After mode switch is completed: i. Resume NOL by re-initializing the list from the temporary psoc copy. ii. Free the psoc copy after mode switch is complete. iii. Note: changes are made to support pause and resume of NOL, increasing NOL timeout by a few milliseconds.
2. PreCAC list conversion: a. When mode switch is triggered: i. Stop the existing preCAC timer and send ADFS abort command to FW. b. When mode switch is completed: i. Unify/separate the preCAC list if the target mode is DBS/DBS_SBS respectively, using a single API. ii. Start ADFS again.
3. Radar detection lock: a. While detecting radar, acquire a lock to avoid handling user triggered mode_switch during this process. Release the lock once radar processing is completed and CSA start is triggered.
4. Radar detection/CAC completion defer during mode switch: a. While detecting radar or CAC completion, check if mode switch is in progress. If yes, defer the processing and wait for mode switch to complete before handling the events. b. Note: Precedence is Radar over CAC, i.e., if CAC processing is waiting and radar is received, CAC completion is no longer handled.
CRs-Fixed: 2580403 Change-Id: I506f3b569bad2e351c6f336e50f203cf5fa8b223
show more ...
|
#
70e1b6f8 |
| 17-Oct-2019 |
Priyadarshnee S <priys@codeaurora.org> |
qcacmn: Add frequency APIs in DFS Dispatcher
To avoid "channel number" space collision with the introduction of 6GHZ frequency band, add frequency based APIs in DFS dispatcher.
Change-Id: I349093e1
qcacmn: Add frequency APIs in DFS Dispatcher
To avoid "channel number" space collision with the introduction of 6GHZ frequency band, add frequency based APIs in DFS dispatcher.
Change-Id: I349093e134b04ee31d046eb4da108522bc74a51a CRs-Fixed: 2526372
show more ...
|
#
208ab01f |
| 13-Aug-2019 |
bings <bings@codeaurora.org> |
qcacmn: Trigger eWNI_SME_DFS_RADAR_FOUND once for one radar
Currently eWNI_SME_DFS_RADAR_FOUND is triggered for every vdev attached to the pdev in which radar is found. It is incorrect because when
qcacmn: Trigger eWNI_SME_DFS_RADAR_FOUND once for one radar
Currently eWNI_SME_DFS_RADAR_FOUND is triggered for every vdev attached to the pdev in which radar is found. It is incorrect because when handling one eWNI_SME_DFS_RADAR_FOUND event, every sap in the DFS channel processes the event.
Trigger eWNI_SME_DFS_RADAR_FOUND once for one radar detection.
Change-Id: I72f8a2a34b670bd86f07d0caabf2ee8f96c962be CRs-Fixed: 2504793
show more ...
|
#
cba07b48 |
| 20-Mar-2019 |
Jeff Johnson <jjohnson@codeaurora.org> |
qcacmn: dfs: Replace explicit comparison to NULL
Per the Linux Kernel coding style, as enforced by the kernel checkpatch script, pointers should not be explicitly compared to NULL. Therefore within
qcacmn: dfs: Replace explicit comparison to NULL
Per the Linux Kernel coding style, as enforced by the kernel checkpatch script, pointers should not be explicitly compared to NULL. Therefore within umac dfs replace any such comparisons with logical operations performed on the pointer itself.
Change-Id: Ib67c0ebda22f93a353f8f3f1be1e1ab10b15db4a CRs-Fixed: 2420151
show more ...
|
#
bad46ee2 |
| 08-Feb-2019 |
Shreedhar Parande <sparande@codeaurora.org> |
qcacmn: Enhancement of auto channel switch zerowait PreCAC for 160MHz mode
If user configures DFS channel in 160MHz mode, 1. change mode to 80MHz and do PreCAC on primary and secondary channels o
qcacmn: Enhancement of auto channel switch zerowait PreCAC for 160MHz mode
If user configures DFS channel in 160MHz mode, 1. change mode to 80MHz and do PreCAC on primary and secondary channels of 160MHz. 2. Use intermediate channel to operate. 3. Once PreCAC done on the both primary and secondary channels and is clear then change mode back to 160MHz. 4. Change the channel from intermediate to configured DFS channel. Use Broadcast and Unicast OMN frame to notify mode change.
Change-Id: I1f2db0f38b42fce2f407988041edfea9c49c58e1 CRs-fixed: 2395431
show more ...
|
#
62ce2260 |
| 24-Oct-2018 |
Shashikala Prabhu <pshashik@codeaurora.org> |
qcacmn: Use regdb component to set/get NOL-History channel list
In case of STADFS feature, when STA vap detects the RADAR, it marks the channel as RADAR and adds the RADAR found channel to both NOL
qcacmn: Use regdb component to set/get NOL-History channel list
In case of STADFS feature, when STA vap detects the RADAR, it marks the channel as RADAR and adds the RADAR found channel to both NOL and NOL-HISTORY list. After nol expiry, STA vap does the CAC before connecting to the RootAP if the RootAP channel is present in the STA NOL-HISTORY.
Set nol_history_flag in regulatory component current channel list when STA vap detects the RADAR.
Change-Id: I8d01f5830e6b4dd634b71c551ac347bc7d3d5c4c CRs-Fixed: 2337921
show more ...
|
#
d3173ca8 |
| 08-Oct-2018 |
Priyadarshnee S <priys@codeaurora.org> |
qcacmn: Handle scan failure and vdev start caused by NOL violation
This commit includes the following changes: Send usenol pdev param to FW. Set and get dfs_disable_radar_marking flag. Handle scan f
qcacmn: Handle scan failure and vdev start caused by NOL violation
This commit includes the following changes: Send usenol pdev param to FW. Set and get dfs_disable_radar_marking flag. Handle scan failure due to NOL violation.
Change-Id: I814f6381145f98eccf465af730734238c60d8896 CRs-Fixed: 2328894
show more ...
|
#
f6e13db4 |
| 28-Aug-2018 |
gaurank kathpalia <gkathpal@codeaurora.org> |
qcacmn: Add src, and dst id support in DFS
In the scheduler_post_message, src_id is now added to know the source module of the msg. The present scheduler doesn't know about the same which is schedul
qcacmn: Add src, and dst id support in DFS
In the scheduler_post_message, src_id is now added to know the source module of the msg. The present scheduler doesn't know about the same which is scheduler_post_msg.
Replace the scheduler_post_msg with scheduler_post_message.
Change-Id: I954a56eb960e8caab25f0734da2f8badf77cad3a CRs-Fixed: 2306020
show more ...
|
#
62f2bb91 |
| 29-May-2018 |
Shreedhar Parande <sparande@codeaurora.org> |
qcacmn: PreCAC auto channel switch support
Changes to switch to the preferred preCAC channel after the preCAC is done. User can configure non-DFS channel as an intermediate channel to reduce AP brin
qcacmn: PreCAC auto channel switch support
Changes to switch to the preferred preCAC channel after the preCAC is done. User can configure non-DFS channel as an intermediate channel to reduce AP bringup time, and configure the DFS channel as usual. PreCAC Logic will use the intermediate channel as the home channel and will prioritize the DFS channel to start preCAC first and switch automatically after the preCAC timeout. Command to configure intermediate non-DFS channel iwpriv wifiX interCACChan <non-DFS channel num> Assumption: Intermediate channel should be configured before configuring the DFS channel as operating channel.
Change-Id: I1dc00fa395aec53bfe5a6361095cd7d77ced503c CRs-Fixed: 2272085
show more ...
|
#
e874411d |
| 25-Jun-2018 |
Shashikala Prabhu <pshashik@codeaurora.org> |
qcacmn: Configure Allowed Channels and ACS Allowed Channels
Description:- 'wifitool athX setprimarychans ch1 ch2 ... chn' will restart athX if current channel is not in primary allowed channel list.
qcacmn: Configure Allowed Channels and ACS Allowed Channels
Description:- 'wifitool athX setprimarychans ch1 ch2 ... chn' will restart athX if current channel is not in primary allowed channel list. 'wifitool athX getprimarychans' to get primary allowed channel list. The channel selected by ACS, random channel selection will be ignored if it's not present in primary allowed channel list. When user sets the channel using iwconfig or doth_chanswitch, if the channel is not present in the primary allowed channel list then HOST does not honour the channel change.
Change-Id: If37592d4246334a3c8fb17d44aaead7a6f9e969e CRs-Fixed: 2264102
show more ...
|
#
e556063b |
| 04-Jun-2018 |
Abhijit Pradhan <abhijit@codeaurora.org> |
qcacmn: Rename a DFS CAC function and corresponding function pointer
Rename the function dfs_mlme_deliver_event_up_afrer_cac() to dfs_mlme_deliver_event_up_after_cac and rename the function pointer
qcacmn: Rename a DFS CAC function and corresponding function pointer
Rename the function dfs_mlme_deliver_event_up_afrer_cac() to dfs_mlme_deliver_event_up_after_cac and rename the function pointer mlme_deliver_event_up_afrer_ca to mlme_deliver_event_up_after_cac
Change-Id: I29c2094a0b45c9583b897e088ce9938c759e26ba CRs-Fixed: 2251792
show more ...
|
#
ab1d4c30 |
| 09-May-2018 |
Shashikala Prabhu <pshashik@codeaurora.org> |
qcacmn: Cleanup dfs unused function
Cleanup dfs_mlme_channel_mark_radar unused function.
Change-Id: I16aeacbca8f44de4dcab5667b6065fbb9b5c39d7 CRs-Fixed: 2245665
|