|
|
@ -1,6 +1,6 @@ |
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
|
|
@@ -2894,6 +2894,63 @@ done:
|
|
|
|
@@ -2893,6 +2893,63 @@ done:
|
|
|
|
} |
|
|
|
|
|
|
|
static int |
|
|
@ -64,7 +64,7 @@ |
|
|
|
brcmf_cfg80211_dump_station(struct wiphy *wiphy, struct net_device *ndev, |
|
|
|
int idx, u8 *mac, struct station_info *sinfo) |
|
|
|
{ |
|
|
|
@@ -2983,6 +3040,7 @@ static s32 brcmf_inform_single_bss(struc
|
|
|
|
@@ -2982,6 +3039,7 @@ static s32 brcmf_inform_single_bss(struc
|
|
|
|
struct brcmu_chan ch; |
|
|
|
u16 channel; |
|
|
|
u32 freq; |
|
|
@ -72,7 +72,7 @@ |
|
|
|
u16 notify_capability; |
|
|
|
u16 notify_interval; |
|
|
|
u8 *notify_ie; |
|
|
|
@@ -3007,6 +3065,17 @@ static s32 brcmf_inform_single_bss(struc
|
|
|
|
@@ -3006,6 +3064,17 @@ static s32 brcmf_inform_single_bss(struc
|
|
|
|
band = NL80211_BAND_5GHZ; |
|
|
|
|
|
|
|
freq = ieee80211_channel_to_frequency(channel, band); |
|
|
@ -90,7 +90,7 @@ |
|
|
|
bss_data.chan = ieee80211_get_channel(wiphy, freq); |
|
|
|
bss_data.scan_width = NL80211_BSS_CHAN_WIDTH_20; |
|
|
|
bss_data.boottime_ns = ktime_to_ns(ktime_get_boottime()); |
|
|
|
@@ -5424,6 +5493,7 @@ static struct cfg80211_ops brcmf_cfg8021
|
|
|
|
@@ -5423,6 +5492,7 @@ static struct cfg80211_ops brcmf_cfg8021
|
|
|
|
.leave_ibss = brcmf_cfg80211_leave_ibss, |
|
|
|
.get_station = brcmf_cfg80211_get_station, |
|
|
|
.dump_station = brcmf_cfg80211_dump_station, |
|
|
|