qcacmn: Add powermode APIs under a new macro
Use CONFIG_REG_ 6G_PWR_MODE for the new API. Use "_for_pwrmode" as suffix for the new functions. Change-Id: I9b84944a59062277b76bc48877c47ea5afada0ec CRs-Fixed: 3133023
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
e7b559d010
incheckning
3f95481d0e
@@ -329,8 +329,8 @@ util_scan_get_chan_from_he_6g_params(struct wlan_objmgr_pdev *pdev,
|
||||
he_6g_params->primary_channel,
|
||||
band_mask);
|
||||
if (scan_obj->drop_bcn_on_invalid_freq &&
|
||||
wlan_reg_is_disable_for_freq(pdev, *chan_freq,
|
||||
REG_CURRENT_PWR_MODE)) {
|
||||
wlan_reg_is_disable_for_pwrmode(pdev, *chan_freq,
|
||||
REG_CURRENT_PWR_MODE)) {
|
||||
scm_debug_rl(QDF_MAC_ADDR_FMT": Drop as invalid channel %d freq %d in HE 6Ghz params",
|
||||
QDF_MAC_ADDR_REF(scan_params->bssid.bytes),
|
||||
he_6g_params->primary_channel, *chan_freq);
|
||||
@@ -1286,7 +1286,7 @@ util_scan_populate_bcn_ie_list(struct wlan_objmgr_pdev *pdev,
|
||||
band_mask);
|
||||
/* Drop if invalid freq */
|
||||
if (scan_obj->drop_bcn_on_invalid_freq &&
|
||||
wlan_reg_is_disable_for_freq(
|
||||
wlan_reg_is_disable_for_pwrmode(
|
||||
pdev, *chan_freq,
|
||||
REG_CURRENT_PWR_MODE)) {
|
||||
scm_debug_rl(QDF_MAC_ADDR_FMT": Drop as invalid channel %d freq %d in HT_INFO IE",
|
||||
|
Referens i nytt ärende
Block a user