Files
android_kernel_samsung_sm86…/umac/regulatory
Vignesh Mohan a9b8585838 qca-wifi: Introduce regulatory APIs to access channel information
As part of the componentization of channel lists across WIN
components, the existing version of channel list in WIN umac is
removed. Introduce APIs in the regulatory that provide the
required information directly from the regulatory
channel lists.

Introduce the following APIs:
1. wlan_reg_get_txpow_ant_gain
    To get the txpower and antenna gain specified in the regulatory,
    for a given channel.
2. wlan_reg_get_chan_flags
    To get the channel flags (if channel DFS for example), from
    regulatory for the given channel.
3. wlan_reg_get_max_phymode_and_chwidth
    To get the maximum 80211 mode and channel width supported
    by the channel in the given regulatory.
4. wlan_reg_is_phymode_chwidth_allowed
    To check if the given 80211 mode and channel width is supported
    by the channel in the given regulatory.
5. reg_update_max_phymode_chwidth_for_pdev
    To update the maximum 80211 mode and channel width for the
    regulatory, inside regulatory object.
6. reg_modify_chan_list_for_max_chwidth
    Update the regulatory channel list with maximum bandwidth
    for each channel based on the availability of it's
    adjacent channels.

Change-Id: Idb390c10d8901d9e21d4642481168704d7e36333
2020-11-26 14:37:59 +05:30
..