Samsung implemented 2.4G ACS among all region allowed
channels, while Moto requires 2.4G MHS should only be
setup on channels 1~11.
Change-Id: Ibecfc178488768ae3f03ba44519088c39094662a
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1348019
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
int min_avg_chan_utilization_20 = INT_MAX, min_adjacent_rssi_20 = INT_MAX;
int ch_idx_min_load_20 = 0, ch_idx_min_rssi_20 = 0;
int ret = 0;
- int ch_list_len = ndev_vif->scan[SLSI_SCAN_HW_ID].acs_request->ch_list_len;
+ /* BEGIN IKSAMP-8520 limit 2.4G ACS channels to 11 */
+ // int ch_list_len = ndev_vif->scan[SLSI_SCAN_HW_ID].acs_request->ch_list_len;
+ int ch_list_len = 11;
+ /* END IKSAMP-8520 */
acs_selected_channels->ch_width = ndev_vif->scan[SLSI_SCAN_HW_ID].acs_request->ch_width;
acs_selected_channels->hw_mode = ndev_vif->scan[SLSI_SCAN_HW_ID].acs_request->hw_mode;