On 1/9/2019 12:26 AM, Russell King - ARM Linux wrote:
On Tue, Jan 08, 2019 at 06:40:46PM +0200, Kalle Valo wrote:
Arend Van Spriel <arend.vanspriel@xxxxxxxxxxxx> writes:
Response using Gmail on phone
Unfortunately it had HTML and not sure if it made it to the list, so
copying your response in full below just in case. Russell, does the
commit below fix your problem?
861cb5eb467f brcmfmac: Fix access point mode
From a quick test this evening, it does seem to allow brcmfmac to work
with hostapd again, which is good news.
However, I've been seeing other issues with the brcmfmac over the course
of the last week, which needs the brcmfmac module to be removed and
re-loaded to rescue the situation - ultimately, it means that running
brcmfmac in host AP mode is unreliable. This is with 4.19 and my
patch - we will see how 4.20 with the above mentioned patch behaves over
the coming week.
[1036107.225569] brcmfmac: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets
[1036108.217519] brcmfmac: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets
[1043906.813243] brcmfmac: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets
[1043907.809184] brcmfmac: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets
[1044220.587626] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[1045006.357728] br0: received packet on wlan0 with own address as source address (addr:6c:ad:f8:05:0d:81, vlan:0)
[1049743.889412] br0: received packet on wlan0 with own address as source address (addr:6c:ad:f8:05:0d:81, vlan:0)
[1061305.953430] brcmfmac: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets
[1061308.641378] brcmfmac: send_key_to_dongle: wsec_key error (-110)
[1061309.665234] brcmfmac: brcmf_netdev_wait_pend8021x: Timed out waiting for no pending 802.1x packets
[1061312.993053] brcmfmac: brcmf_cfg80211_change_station: Setting SCB (de-)authorize failed, -110
Is this with hostapd? If so, this br0 message suggest you let hostapd
create a bridge, is that correct? Just trying to get a good picture in
case I want to replicate things over here although I am pretty sure I do
not have the same platform lying around here. Although, what platform do
you have?
The timeout (-110) error can mean either firmware crashed or the sdio
host controller went in limbo. If this happens again on 4.20 (or
5.0-rc1), you could build the driver with CONFIG_BRCMDBG and load the
driver with debug=0x100010. If it is a firmware crash it should show up
in the log.
Regards,
Arend