diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-01-10 00:19:16 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-01-10 00:19:16 +0000 |
commit | acad802bceb2d41e003c07a0f17d800151ba7975 (patch) | |
tree | 8abbb86e4c12bf345dcebe199ca195f45557925b /package/kernel/mac80211/patches/372-0010-brcmfmac-Remove-unused-state-AP-creating.patch | |
parent | 615ff23d4f635cfefaf2960cd9233e540b1eaab5 (diff) | |
download | upstream-acad802bceb2d41e003c07a0f17d800151ba7975.tar.gz upstream-acad802bceb2d41e003c07a0f17d800151ba7975.tar.bz2 upstream-acad802bceb2d41e003c07a0f17d800151ba7975.zip |
mac80211: brcmfmac: support dumping stations
It allows user-space fetch associated STAs and e.g. iwinfo/luci display
them.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48167 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/372-0010-brcmfmac-Remove-unused-state-AP-creating.patch')
-rw-r--r-- | package/kernel/mac80211/patches/372-0010-brcmfmac-Remove-unused-state-AP-creating.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/372-0010-brcmfmac-Remove-unused-state-AP-creating.patch b/package/kernel/mac80211/patches/372-0010-brcmfmac-Remove-unused-state-AP-creating.patch new file mode 100644 index 0000000000..c6a7363aa6 --- /dev/null +++ b/package/kernel/mac80211/patches/372-0010-brcmfmac-Remove-unused-state-AP-creating.patch @@ -0,0 +1,55 @@ +From: Hante Meuleman <meuleman@broadcom.com> +Date: Thu, 8 Oct 2015 20:33:20 +0200 +Subject: [PATCH] brcmfmac: Remove unused state AP creating. + +Reviewed-by: Arend Van Spriel <arend@broadcom.com> +Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> +Signed-off-by: Hante Meuleman <meuleman@broadcom.com> +Signed-off-by: Arend van Spriel <arend@broadcom.com> +Signed-off-by: Kalle Valo <kvalo@codeaurora.org> +--- + +--- a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c ++++ b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c +@@ -839,7 +839,6 @@ brcmf_cfg80211_change_iface(struct wiphy + err = brcmf_p2p_ifchange(cfg, BRCMF_FIL_P2P_IF_GO); + } + if (!err) { +- set_bit(BRCMF_VIF_STATUS_AP_CREATING, &vif->sme_state); + brcmf_dbg(INFO, "IF Type = AP\n"); + } + } else { +@@ -4250,7 +4249,6 @@ brcmf_cfg80211_start_ap(struct wiphy *wi + + brcmf_dbg(TRACE, "GO mode configuration complete\n"); + } +- clear_bit(BRCMF_VIF_STATUS_AP_CREATING, &ifp->vif->sme_state); + set_bit(BRCMF_VIF_STATUS_AP_CREATED, &ifp->vif->sme_state); + + exit: +@@ -4315,7 +4313,6 @@ static int brcmf_cfg80211_stop_ap(struct + } + brcmf_set_mpc(ifp, 1); + brcmf_configure_arp_offload(ifp, true); +- set_bit(BRCMF_VIF_STATUS_AP_CREATING, &ifp->vif->sme_state); + clear_bit(BRCMF_VIF_STATUS_AP_CREATED, &ifp->vif->sme_state); + + return err; +--- a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.h ++++ b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.h +@@ -143,7 +143,6 @@ struct brcmf_cfg80211_profile { + * @BRCMF_VIF_STATUS_CONNECTING: connect/join in progress. + * @BRCMF_VIF_STATUS_CONNECTED: connected/joined succesfully. + * @BRCMF_VIF_STATUS_DISCONNECTING: disconnect/disable in progress. +- * @BRCMF_VIF_STATUS_AP_CREATING: interface configured for AP operation. + * @BRCMF_VIF_STATUS_AP_CREATED: AP operation started. + */ + enum brcmf_vif_status { +@@ -151,7 +150,6 @@ enum brcmf_vif_status { + BRCMF_VIF_STATUS_CONNECTING, + BRCMF_VIF_STATUS_CONNECTED, + BRCMF_VIF_STATUS_DISCONNECTING, +- BRCMF_VIF_STATUS_AP_CREATING, + BRCMF_VIF_STATUS_AP_CREATED + }; + |