wil6210: notify wiphy on wowlan support
Set wowlan to indicate that 11ad device can wake-up on any trigger and disconnect. Change-Id: I12f226921f854a354404d16e592447a98859b205 Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: d1fbf07540b7d35df693e2e1d7528d8ca9bdb2c2 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git Signed-off-by: Maya Erez <merez@codeaurora.org>
This commit is contained in:
parent
6380f8869e
commit
1b4b1c3694
1 changed files with 10 additions and 0 deletions
|
@ -31,6 +31,12 @@ static bool ignore_reg_hints = true;
|
|||
module_param(ignore_reg_hints, bool, 0444);
|
||||
MODULE_PARM_DESC(ignore_reg_hints, " Ignore OTA regulatory hints (Default: true)");
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
static struct wiphy_wowlan_support wil_wowlan_support = {
|
||||
.flags = WIPHY_WOWLAN_ANY | WIPHY_WOWLAN_DISCONNECT,
|
||||
};
|
||||
#endif
|
||||
|
||||
#define CHAN60G(_channel, _flags) { \
|
||||
.band = IEEE80211_BAND_60GHZ, \
|
||||
.center_freq = 56160 + (2160 * (_channel)), \
|
||||
|
@ -1891,6 +1897,10 @@ static void wil_wiphy_init(struct wiphy *wiphy)
|
|||
wiphy->regulatory_flags |= REGULATORY_DISABLE_BEACON_HINTS;
|
||||
wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
wiphy->wowlan = &wil_wowlan_support;
|
||||
#endif
|
||||
}
|
||||
|
||||
struct wireless_dev *wil_cfg80211_init(struct device *dev)
|
||||
|
|
Loading…
Add table
Reference in a new issue