Merge "ath10k: Remove dedicated p2p_device interface capability for wcn3990"
This commit is contained in:
commit
f0e22ca5e0
1 changed files with 4 additions and 8 deletions
|
@ -7822,10 +7822,6 @@ static const struct ieee80211_iface_limit ath10k_wcn3990_if_limit[] = {
|
||||||
BIT(NL80211_IFTYPE_P2P_CLIENT) |
|
BIT(NL80211_IFTYPE_P2P_CLIENT) |
|
||||||
BIT(NL80211_IFTYPE_P2P_GO),
|
BIT(NL80211_IFTYPE_P2P_GO),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.max = 1,
|
|
||||||
.types = BIT(NL80211_IFTYPE_P2P_DEVICE),
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct ieee80211_iface_limit ath10k_wcn3990_qcs_if_limit[] = {
|
static const struct ieee80211_iface_limit ath10k_wcn3990_qcs_if_limit[] = {
|
||||||
|
@ -7845,10 +7841,6 @@ static const struct ieee80211_iface_limit ath10k_wcn3990_qcs_if_limit[] = {
|
||||||
#endif
|
#endif
|
||||||
BIT(NL80211_IFTYPE_P2P_GO),
|
BIT(NL80211_IFTYPE_P2P_GO),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.max = 1,
|
|
||||||
.types = BIT(NL80211_IFTYPE_P2P_DEVICE),
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct ieee80211_iface_limit ath10k_wcn3990_if_limit_ibss[] = {
|
static const struct ieee80211_iface_limit ath10k_wcn3990_if_limit_ibss[] = {
|
||||||
|
@ -8022,6 +8014,10 @@ int ath10k_mac_register(struct ath10k *ar)
|
||||||
BIT(NL80211_IFTYPE_P2P_CLIENT) |
|
BIT(NL80211_IFTYPE_P2P_CLIENT) |
|
||||||
BIT(NL80211_IFTYPE_P2P_GO);
|
BIT(NL80211_IFTYPE_P2P_GO);
|
||||||
|
|
||||||
|
if (QCA_REV_WCN3990(ar))
|
||||||
|
ar->hw->wiphy->interface_modes &=
|
||||||
|
~BIT(NL80211_IFTYPE_P2P_DEVICE);
|
||||||
|
|
||||||
ieee80211_hw_set(ar->hw, SIGNAL_DBM);
|
ieee80211_hw_set(ar->hw, SIGNAL_DBM);
|
||||||
ieee80211_hw_set(ar->hw, SUPPORTS_PS);
|
ieee80211_hw_set(ar->hw, SUPPORTS_PS);
|
||||||
ieee80211_hw_set(ar->hw, SUPPORTS_DYNAMIC_PS);
|
ieee80211_hw_set(ar->hw, SUPPORTS_DYNAMIC_PS);
|
||||||
|
|
Loading…
Add table
Reference in a new issue