[PATCH v2] brcmfmac: add fallback for devices that do not report per-chain values

2016-05-12 Thread Jaap Jan Meijer
If brcmf_cfg80211_get_station fails to determine the RSSI from the per-chain values get the value individually as a fallback. Fixes: 1f0dc59a6de9 ("brcmfmac: rework .get_station() callback") Signed-off-by: Jaap Jan Meijer --- change log: v2: - remove beacon period and dtim, these

Re: [PATCH] brcmfmac: add fallback for devices that do not report per-chain values

2016-05-12 Thread Jaap Jan Meijer
the function brcmf_fill_bss_param() (called in line 2530). When you > do that make sure the subject prefix is 'PATCH v2' iso 'PATCH' (using > git format-patch option --subject-prefix=..) and add a changelog after > your signed-off line as shown below: > > Signed-off

[PATCH] brcmfmac: add fallback for devices that do not report per-chain values

2016-05-11 Thread Jaap Jan Meijer
If brcmf_cfg80211_get_station fails to determine the RSSI from the per-chain values get all values individually as a fallback. Signed-off-by: Jaap Jan Meijer --- .../broadcom/brcm80211/brcmfmac/cfg80211.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a

Re: [PATCH] Fix regression in Android due to rework .get_station() callback

2016-05-10 Thread Jaap Jan Meijer
2016-05-09 16:21 GMT+02:00 Kalle Valo : > Arend Van Spriel writes: >> I did see the patch and noticed the procedural issues as well. However, >> last week was a short week over here and I did not get to it to respond. >> The fix is not done properly. The function determines the RSSI from the >> pe

Re: [PATCH] Fix regression in Android due to rework .get_station() callback

2016-05-08 Thread Jaap Jan Meijer
2016-05-06 17:02 GMT+01:00 Kalle Valo : > Jaap Jan Meijer writes: > >> 2016-05-06 16:12 GMT+01:00 Kalle Valo : >>> Jaap Jan Meijer writes: >>> >>>> Hi Kalle, >>>> >>>> Op vr 6 mei 2016 12:52 schreef Kalle Valo : >>>&

Re: [PATCH] Fix regression in Android due to rework .get_station() callback

2016-05-06 Thread Jaap Jan Meijer
2016-05-06 16:12 GMT+01:00 Kalle Valo : > Jaap Jan Meijer writes: > >> Hi Kalle, >> >> Op vr 6 mei 2016 12:52 schreef Kalle Valo : >> >> >> This has multiple issues: >> >> o Use your full name. >> o Use prefix "brcmfmac

BCM43241B4 SDIO WiFi strength of connected network unavailable in Android (brcmfmac)

2016-04-25 Thread Jaap Jan Meijer
Hi, I'm currently working on a Baytrail tablet with a BCM43241B4 SDIO WiFi card. WiFi is working very well but as of Kernel 4.2 wpa_supplicant can't get signal strength of the currently connected network. I'm running Android-x86 on this tablet, from what I can make of it the SIGNAL_POLL command is