Skip to content

[Wifi brcm 43455] RPI4 AP mode (WP3/SAE) rejects association frames from modern Wifi 6/7 clients #7359

Closed

Description

@bnicolae

Describe the bug

Some modern Wifi 6/7 clients cannot connect to brcm-43455 chip in AP mode (WPA3/SAE) because the firmware cannot parse the association frames correctly.

Concretely, the client in question is Qualcomm FastConnect 7900 (Snapdragon 8). The SAE authentication (in this case, based on H2E) successfully completes after being offloaded to the CPU. At this point, the client send an association frame as expected, since this is the next step in the protocol. Wireshark dump (attached in the logs) looks well formed and does not contradict the beacon. However, the firmware (most recent, 7.45.286 seems do dislike this frame for some reason, as seen in the console log:

[ 3712.967421] brcmfmac: brcmf_sdio_bus_rxctl Enter
[ 3712.981625] brcmfmac: CONSOLE: 000430.509 wl0: turn sta MFP setting on with sha256
[ 3712.981649] brcmfmac: CONSOLE: 000430.509 wl0: wlc_akm_arq_parse_rsn_ie: unsupported request in WPA2 IE from YY:YY:YY:YY:YY:YY
[ 3712.981669] brcmfmac: CONSOLE: 000430.509 wlc_ieml_parse_frame: err -1
[ 3712.981685] brcmfmac: CONSOLE: 000430.509 wl0: wlc_ap_process_assocreq: wlc_iem_parse_frame failed

The result is ultimately connection failure. The AP replies with an association response whose status code indicates error: The request has not been successful as one or more parameters have invalid values (0x0026). In turn the client fails and the protocol finishes unsuccessfully.

At this point, it was impossible for me to debug further. I am suspecting it is linked to the RSNE, either the OCVC flag being set (but that normally should just tell the AP this is a supported, non-mandatory feature) or the PKMID being included. But neither should fail the parser. I was also suspicious about the RSN PTKSA Replay Counter (16), but the AP advertises being capable of the same number.

The client has no problem connecting to other WPA3/SAE APs based on other chips. Also, the AP has no problem serving other less modern clients. The only difference between the problematic Qualcomm FastConnect 7900 client and the simpler clients is that simpler clients: (1) advertise RSN PTKSA Replay Counter (1) instead of 16; (2) do not include any PKMID in the RSNE; (3) do not set the OCVC flag.

In addition to the association request frame, I've also attached the beacon frame and the association response frame.

Steps to reproduce the behaviour

Configure the brcm-43455 as AP in SAE/WPA3 mode only using hostapd:

...
wpa_authentication=SAE
sae_pwd=1
ieee80211w=2
transition_disable=1
...

Have a modern QCA client connect to the AP and observe the exchange and failed connection.

Device (s)

Raspberry Pi 4 Mod. B

System

Firmware: 7.45.286
Kernel: 6.18.29

Logs

Beacon advertised by the rpi4 brcm-43455 AP:

Frame 8578: Packet, 364 bytes on wire (2912 bits), 364 bytes captured (2912 bits)
Radiotap Header v0, Length 38
    Header revision: 0
    Header pad: 0
    Header length: 38
    Present flags
    MAC timestamp: 56921644
    Flags: 0x10
    Data Rate: 6.0 Mb/s
    Channel frequency: 5180 [5 GHz 36]
    Channel flags: 0x0140, Orthogonal Frequency-Division Multiplexing (OFDM), 5 GHz spectrum
    Antenna signal: -51 dBm
    RX flags: 0x0000
    Antenna signal: -56 dBm
    Antenna: 0
    Antenna signal: -51 dBm
    Antenna: 1
802.11 radio information
IEEE 802.11 Beacon frame, Flags: ........C
    Type/Subtype: Beacon frame (0x0008)
    Frame Control Field: 0x8000
    .000 0000 0000 0000 = Duration: 0 microseconds
    Receiver address: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination address: Broadcast (ff:ff:ff:ff:ff:ff)
    Transmitter address: RaspberryPiT_XX:XX:XX (XX:XX:XX:XX:XX:XX)
    Source address: RaspberryPiT_XX:XX:XX (XX:XX:XX:XX:XX:XX)
    BSS Id: RaspberryPiT_XX:XX:XX (XX:XX:XX:XX:XX:XX)
    .... .... .... 0000 = Fragment number: 0
    1011 0100 0001 .... = Sequence number: 2881
    Frame check sequence: 0x02ea4831 [unverified]
    [FCS Status: Unverified]
    [WLAN Flags: ........C]
IEEE 802.11 Wireless Management
    Fixed parameters (12 bytes)
        Timestamp: 2313420858
        Beacon Interval: 0.102400 [Seconds]
        Capabilities Information: 0x1111
            .... .... .... ...1 = ESS capabilities: Transmitter is an AP
            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS
            .... .... .... .0.. = Reserved: 0
            .... .... .... 0... = Reserved: 0
            .... .... ...1 .... = Privacy: Data confidentiality required
            .... .... ..0. .... = Short Preamble: Not Allowed
            .... .... .0.. .... = Critical Update Flag: False
            .... .... 0... .... = Nontransmitted BSSIDs Critical Update Flag: False
            .... ...1 .... .... = Spectrum Management: Implemented
            .... ..0. .... .... = QoS: Not Implemented
            .... .0.. .... .... = Short Slot Time: Not in use
            .... 0... .... .... = Automatic Power Save Delivery: Not Implemented
            ...1 .... .... .... = Radio Measurement: Implemented
            ..0. .... .... .... = EPD: Not Implemented
            .0.. .... .... .... = Reserved: 0
            0... .... .... .... = Reserved: 0
    Tagged parameters (286 bytes)
        Tag: SSID parameter set: "<redacted>"
            Tag Number: SSID parameter set (0)
            Tag length: 11
            SSID: "<redacted>"
        Tag: Supported Rates 6(B), 9, 12(B), 18, 24(B), 36, 48, 54, [Mbit/sec]
            Tag Number: Supported Rates (1)
            Tag length: 8
            Supported Rates: 6(B) (0x8c)
            Supported Rates: 9 (0x12)
            Supported Rates: 12(B) (0x98)
            Supported Rates: 18 (0x24)
            Supported Rates: 24(B) (0xb0)
            Supported Rates: 36 (0x48)
            Supported Rates: 48 (0x60)
            Supported Rates: 54 (0x6c)
        Tag: Traffic Indication Map (TIM): DTIM 0 of 2 bitmap
            Tag Number: Traffic Indication Map (TIM) (5)
            Tag length: 4
            DTIM count: 0
            DTIM period: 2
            Bitmap control: 0x00
            Partial Virtual Bitmap: 00
        Tag: Country Information: Country Code US, Environment All
            Tag Number: Country Information (7)
            Tag length: 78
            Code: US
            Environment: All (32)
            Country Info: First Channel Number: 36, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 40, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 44, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 48, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 52, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 56, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 60, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 64, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 100, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 104, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 108, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 112, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 116, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 120, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 124, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 128, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 132, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 136, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 140, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 144, Number of Channels: 1, Maximum Transmit Power Level: 24 dBm
            Country Info: First Channel Number: 149, Number of Channels: 1, Maximum Transmit Power Level: 30 dBm
            Country Info: First Channel Number: 153, Number of Channels: 1, Maximum Transmit Power Level: 30 dBm
            Country Info: First Channel Number: 157, Number of Channels: 1, Maximum Transmit Power Level: 30 dBm
            Country Info: First Channel Number: 161, Number of Channels: 1, Maximum Transmit Power Level: 30 dBm
            Country Info: First Channel Number: 165, Number of Channels: 1, Maximum Transmit Power Level: 30 dBm
        Tag: Power Constraint: 0
            Tag Number: Power Constraint (32)
            Tag length: 1
            Local Power Constraint: 0
        Tag: TPC Report Transmit Power: 14 dBm
            Tag Number: TPC Report (35)
            Tag length: 2
            Transmit Power: 14 dBm
            Reserved: 0
        Tag: Extended Supported Rates SAE Hash to Element Only, [Mbit/sec]
            Tag Number: Extended Supported Rates (50)
            Tag length: 1
            Extended Supported Rates: SAE Hash to Element Only (0xfb)
        Tag: RSN Information
            Tag Number: RSN Information (48)
            Tag length: 20
            RSN Version: 1
            Group Cipher Suite: 00:0f:ac (Ieee 802.11) AES (CCM)
            Pairwise Cipher Suite Count: 1
            Pairwise Cipher Suite List 00:0f:ac (Ieee 802.11) AES (CCM)
            Auth Key Management (AKM) Suite Count: 1
            Auth Key Management (AKM) List 00:0f:ac (Ieee 802.11) SAE (SHA256)
            RSN Capabilities: 0x00cc
                .... .... .... ...0 = RSN Pre-Auth capabilities: Transmitter does not support pre-authentication
                .... .... .... ..0. = RSN No Pairwise capabilities: Transmitter can support WEP default key 0 simultaneously with Pairwise key
                .... .... .... 11.. = RSN PTKSA Replay Counter capabilities: 16 replay counters per PTKSA/GTKSA/STAKeySA (0x3)
                .... .... ..00 .... = RSN GTKSA Replay Counter capabilities: 1 replay counter per PTKSA/GTKSA/STAKeySA (0x0)
                .... .... .1.. .... = Management Frame Protection Required: Required
                .... .... 1... .... = Management Frame Protection Capable: Capable
                .... ...0 .... .... = Joint Multi-band RSNA: Not supported
                .... ..0. .... .... = PeerKey Enabled: Not supported
                .... .0.. .... .... = SPP A-MSDU Capable: Not capable
                .... 0... .... .... = SPP A-MSDU Required: Not required
                ...0 .... .... .... = PBAC (protected block ack agreement capable): Not capable
                ..0. .... .... .... = Extended Key ID for Individually Addressed Frames: Not supported
                .0.. .... .... .... = OCVC: Not supported
        Tag: HT Capabilities
            Tag Number: HT Capabilities (45)
            Tag length: 26
            HT Capabilities Info: 0x0063
            A-MPDU Parameters: 0x17
            Rx Supported Modulation and Coding Scheme Set: MCS Set
            HT Extended Capabilities: 0x0000
            Transmit Beam Forming (TxBF) Capabilities: 0x00000000
            Antenna Selection (ASEL) Capabilities: 0x00
        Tag: HT Operation
            Tag Number: HT Operation (61)
            Tag length: 22
            Primary Channel: 36
            HT Operation Information Subset (1 of 3): 0x0d
            HT Operation Information Subset (2 of 3): 0x0000
            HT Operation Information Subset (3 of 3): 0x0000
            Rx Supported Modulation and Coding Scheme Set: Basic MCS Set
        Tag: Overlapping BSS Scan Parameters
            Tag Number: Overlapping BSS Scan Parameters (74)
            Tag length: 14
            Scan Passive Dwell: 20
            Scan Active Dwell: 10
            Channel Width Trigger Scan Interval: 300
            Scan Passive Total Per Channel: 200
            Scan Active Total Per Channel: 20
            Width Channel Transition Delay Factor: 5
            Scan Activity Threshold: 25
        Tag: Extended Capabilities (8 octets)
            Tag Number: Extended Capabilities (127)
            Tag length: 8
            Extended Capabilities: 0x05 (octet 1)
            Extended Capabilities: 0x00 (octet 2)
            Extended Capabilities: 0x08 (octet 3)
            Extended Capabilities: 0x00 (octet 4)
            Extended Capabilities: 0x00 (octet 5)
            Extended Capabilities: 0x00 (octet 6)
            Extended Capabilities: 0x00 (octet 7)
            Extended Capabilities: 0x40 (octet 8)
        Tag: VHT Capabilities
            Tag Number: VHT Capabilities (191)
            Tag length: 12
            VHT Capabilities Info: 0x0f805032
            VHT Supported MCS Set
        Tag: VHT Operation
            Tag Number: VHT Operation (192)
            Tag length: 5
            VHT Operation Info
            Basic MCS Map: 0x0000
        Tag: Tx Power Envelope
            Tag Number: Tx Power Envelope (195)
            Tag length: 4
            Tx Pwr Info: 0x02
            Local Max Tx Pwr Constraint 20MHz: 1.0 dBm
            Local Max Tx Pwr Constraint 40MHz: 1.0 dBm
            Local Max Tx Pwr Constraint 80MHz: 1.0 dBm
        Tag: RSN eXtension (1 octet)
            Tag Number: RSN eXtension (244)
            Tag length: 1
            RSNX: 0x20 (octet 1)
                .... 0000 = RSNX Length: 0
                ...0 .... = Protected TWT Operations Support: False
                ..1. .... = SAE Hash to element: True
                .0.. .... = SAE-PK: False
                0... .... = Protected WUR Frame Support: False
        Tag: Vendor Specific: Broadcom
            Tag Number: Vendor Specific (221)
            Tag length: 9
            OUI: 00:10:18 (Broadcom)
            Vendor Specific OUI Type: 2
            Vendor Specific Data: 00001c0000
        Tag: Vendor Specific: Microsoft Corp.: WMM/WME: Parameter Element
            Tag Number: Vendor Specific (221)
            Tag length: 24
            OUI: 00:50:f2 (Microsoft Corp.)
            Vendor Specific OUI Type: 2
            Type: WMM/WME (0x02)
            WME Subtype: Parameter Element (1)
            WME Version: 1
            WME QoS Info: 0x80
            Reserved: 00
            Ac Parameters ACI 0 (Best Effort), ACM no, AIFSN 3, ECWmin/max 4/10 (CWmin/max 15/1023), TXOP 0
            Ac Parameters ACI 1 (Background), ACM no, AIFSN 7, ECWmin/max 4/10 (CWmin/max 15/1023), TXOP 0
            Ac Parameters ACI 2 (Video), ACM no, AIFSN 2, ECWmin/max 3/4 (CWmin/max 7/15), TXOP 94
            Ac Parameters ACI 3 (Voice), ACM no, AIFSN 2, ECWmin/max 2/3 (CWmin/max 3/7), TXOP 47

Association frame sent by the Qualcomm FastConnect 7900 client:

Frame 8601: Packet, 274 bytes on wire (2192 bits), 274 bytes captured (2192 bits)
Radiotap Header v0, Length 38
    Header revision: 0
    Header pad: 0
    Header length: 38
    Present flags
    MAC timestamp: 56983877
    Flags: 0x10
    Data Rate: 6.0 Mb/s
    Channel frequency: 5180 [5 GHz 36]
    Channel flags: 0x0140, Orthogonal Frequency-Division Multiplexing (OFDM), 5 GHz spectrum
    Antenna signal: -36 dBm
    RX flags: 0x0000
    Antenna signal: -42 dBm
    Antenna: 0
    Antenna signal: -36 dBm
    Antenna: 1
802.11 radio information
IEEE 802.11 Association Request, Flags: ........C
    Type/Subtype: Association Request (0x0000)
    Frame Control Field: 0x0000
    .000 0000 0011 1100 = Duration: 60 microseconds
    Receiver address: RaspberryPiT_XX:XX:XX (XX:XX:XX:XX:XX:XX)
    Destination address: RaspberryPiT_XX:XX:XX (XX:XX:XX:XX:XX:XX)
    Transmitter address: YY:YY:YY:YY:YY:YY (YY:YY:YY:YY:YY:YY)
    Source address: YY:YY:YY:YY:YY:YY (YY:YY:YY:YY:YY:YY)
    BSS Id: RaspberryPiT_XX:XX:XX (XX:XX:XX:XX:XX:XX)
    .... .... .... 0000 = Fragment number: 0
    1000 1001 0011 .... = Sequence number: 2195
    Frame check sequence: 0x0a0ce87c [unverified]
    [FCS Status: Unverified]
    [WLAN Flags: ........C]
IEEE 802.11 Wireless Management
    Fixed parameters (4 bytes)
        Capabilities Information: 0x1111
            .... .... .... ...1 = ESS capabilities: Transmitter is an AP
            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS
            .... .... .... .0.. = Reserved: 0
            .... .... .... 0... = Reserved: 0
            .... .... ...1 .... = Privacy: Data confidentiality required
            .... .... ..0. .... = Short Preamble: Not Allowed
            .... .... .0.. .... = Critical Update Flag: False
            .... .... 0... .... = Nontransmitted BSSIDs Critical Update Flag: False
            .... ...1 .... .... = Spectrum Management: Implemented
            .... ..0. .... .... = QoS: Not Implemented
            .... .0.. .... .... = Short Slot Time: Not in use
            .... 0... .... .... = Automatic Power Save Delivery: Not Implemented
            ...1 .... .... .... = Radio Measurement: Implemented
            ..0. .... .... .... = EPD: Not Implemented
            .0.. .... .... .... = Reserved: 0
            0... .... .... .... = Reserved: 0
        Listen Interval: 0x0001
    Tagged parameters (204 bytes)
        Tag: SSID parameter set: "<redacted>"
            Tag Number: SSID parameter set (0)
            Tag length: 11
            SSID: "<redacted>"
        Tag: Supported Rates 6(B), 9, 12(B), 18, 24(B), 36, 48, 54, [Mbit/sec]
            Tag Number: Supported Rates (1)
            Tag length: 8
            Supported Rates: 6(B) (0x8c)
            Supported Rates: 9 (0x12)
            Supported Rates: 12(B) (0x98)
            Supported Rates: 18 (0x24)
            Supported Rates: 24(B) (0xb0)
            Supported Rates: 36 (0x48)
            Supported Rates: 48 (0x60)
            Supported Rates: 54 (0x6c)
        Tag: Power Capability Min: 8, Max: 20
            Tag Number: Power Capability (33)
            Tag length: 2
            Minimum Transmit Power: 8 dBm
            Maximum Transmit Power: 20 dBm
        Tag: Supported Channels
            Tag Number: Supported Channels (36)
            Tag length: 8
            Supported Channels Set #1 First: 36, Range: 4 
            Supported Channels Set #2 First: 52, Range: 4 
            Supported Channels Set #3 First: 100, Range: 11 
            Supported Channels Set #4 First: 149, Range: 5 
        Tag: RSN Information
            Tag Number: RSN Information (48)
            Tag length: 42
            RSN Version: 1
            Group Cipher Suite: 00:0f:ac (Ieee 802.11) AES (CCM)
            Pairwise Cipher Suite Count: 1
            Pairwise Cipher Suite List 00:0f:ac (Ieee 802.11) AES (CCM)
            Auth Key Management (AKM) Suite Count: 1
            Auth Key Management (AKM) List 00:0f:ac (Ieee 802.11) SAE (SHA256)
            RSN Capabilities: 0x40cc
                .... .... .... ...0 = RSN Pre-Auth capabilities: Transmitter does not support pre-authentication
                .... .... .... ..0. = RSN No Pairwise capabilities: Transmitter can support WEP default key 0 simultaneously with Pairwise key
                .... .... .... 11.. = RSN PTKSA Replay Counter capabilities: 16 replay counters per PTKSA/GTKSA/STAKeySA (0x3)
                .... .... ..00 .... = RSN GTKSA Replay Counter capabilities: 1 replay counter per PTKSA/GTKSA/STAKeySA (0x0)
                .... .... .1.. .... = Management Frame Protection Required: Required
                .... .... 1... .... = Management Frame Protection Capable: Capable
                .... ...0 .... .... = Joint Multi-band RSNA: Not supported
                .... ..0. .... .... = PeerKey Enabled: Not supported
                .... .0.. .... .... = SPP A-MSDU Capable: Not capable
                .... 0... .... .... = SPP A-MSDU Required: Not required
                ...0 .... .... .... = PBAC (protected block ack agreement capable): Not capable
                ..0. .... .... .... = Extended Key ID for Individually Addressed Frames: Not supported
                .1.. .... .... .... = OCVC: Supported
            PMKID Count: 1
            PMKID List
                PMKID: e1702a09ecff89f287e61a94a256779b
            Group Management Cipher Suite: 00:0f:ac (Ieee 802.11) BIP (128)
                Group Management Cipher Suite OUI: 00:0f:ac (Ieee 802.11)
                Group Management Cipher Suite type: BIP (128) (6)
        Tag: RM Enabled Capabilities (5 octets)
            Tag Number: RM Enabled Capabilities (70)
            Tag length: 5
            RM Capabilities: 0x73 (octet 1)
            RM Capabilities: 0x1a (octet 2)
            RM Capabilities: 0x91 (octet 3)
            RM Capabilities: 0x00 (octet 4)
            RM Capabilities: 0x04 (octet 5)
        Tag: Supported Operating Classes
            Tag Number: Supported Operating Classes (59)
            Tag length: 29
            Current Operating Class: 5.0 GHz, Channel center frequency index 42, 58, 106, 122, 138 and 155, 80 MHz Spacing (128)
            Alternate Operating Classes: 81, 83, 84, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 131, 132, 133, 134, 137
        Tag: HT Capabilities
            Tag Number: HT Capabilities (45)
            Tag length: 26
            HT Capabilities Info: 0x09ef
            A-MPDU Parameters: 0x17
            Rx Supported Modulation and Coding Scheme Set: MCS Set
            HT Extended Capabilities: 0x0000
            Transmit Beam Forming (TxBF) Capabilities: 0x01000000
            Antenna Selection (ASEL) Capabilities: 0x00
        Tag: Extended Capabilities (8 octets)
            Tag Number: Extended Capabilities (127)
            Tag length: 8
            Extended Capabilities: 0x05 (octet 1)
            Extended Capabilities: 0x00 (octet 2)
            Extended Capabilities: 0x08 (octet 3)
            Extended Capabilities: 0x00 (octet 4)
            Extended Capabilities: 0x00 (octet 5)
            Extended Capabilities: 0x00 (octet 6)
            Extended Capabilities: 0x00 (octet 7)
            Extended Capabilities: 0x40 (octet 8)
        Tag: VHT Capabilities
            Tag Number: VHT Capabilities (191)
            Tag length: 12
            VHT Capabilities Info: 0x338051b2
            VHT Supported MCS Set
        Tag: Vendor Specific: Microsoft Corp.: WMM/WME: Information Element
            Tag Number: Vendor Specific (221)
            Tag length: 7
            OUI: 00:50:f2 (Microsoft Corp.)
            Vendor Specific OUI Type: 2
            Type: WMM/WME (0x02)
            WME Subtype: Information Element (0)
            WME Version: 1
            WME QoS Info: 0x00
        Tag: Vendor Specific: Qualcomm Inc.
            Tag Number: Vendor Specific (221)
            Tag length: 11
            OUI: 8c:fd:f0 (Qualcomm Inc.)
            Vendor Specific OUI Type: 1
            Vendor Specific Data: 01020100020101
        Tag: RSN eXtension (1 octet)
            Tag Number: RSN eXtension (244)
            Tag length: 1
            RSNX: 0x20 (octet 1)
                .... 0000 = RSNX Length: 0
                ...0 .... = Protected TWT Operations Support: False
                ..1. .... = SAE Hash to element: True
                .0.. .... = SAE-PK: False
                0... .... = Protected WUR Frame Support: False
        Tag: Vendor Specific: Wi-Fi Alliance: Unknown
            Tag Number: Vendor Specific (221)
            Tag length: 6
            OUI: 50:6f:9a (Wi-Fi Alliance)
            Vendor Specific OUI Type: 35
            Vendor Specific Data: 0101

Association response sent by the brcm-43455 AP:

Frame 15531: Packet, 109 bytes on wire (872 bits), 109 bytes captured (872 bits)
    Encapsulation type: IEEE 802.11 plus radiotap radio header (23)
    Arrival Time: May 11, 2026 01:25:52.690360000 CDT
    UTC Arrival Time: May 11, 2026 06:25:52.690360000 UTC
    Epoch Arrival Time: 1778480752.690360000
    [Time shift for this packet: 0.000000000 seconds]
    [Time delta from previous captured frame: 3.000 microseconds]
    [Time delta from previous displayed frame: 9.000 microseconds]
    [Time since reference or first frame: 46.600698000 seconds]
    Frame Number: 15531
    Frame Length: 109 bytes (872 bits)
    Capture Length: 109 bytes (872 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: radiotap:wlan_radio:wlan]
    Character encoding: ASCII (0)
Radiotap Header v0, Length 38
802.11 radio information
IEEE 802.11 Association Response, Flags: ........C
IEEE 802.11 Wireless Management
    Fixed parameters (6 bytes)
        Capabilities Information: 0x0011
        Status code: The request has not been successful as one or more parameters have invalid values (0x0026)
        ..00 0000 0000 0010 = Association ID: 0x0002
    Tagged parameters (37 bytes)
        Tag: Supported Rates 6(B), 9, 12(B), 18, 24(B), 36, 48, 54, [Mbit/sec]
            Tag Number: Supported Rates (1)
            Tag length: 8
            Supported Rates: 6(B) (0x8c)
            Supported Rates: 9 (0x12)
            Supported Rates: 12(B) (0x98)
            Supported Rates: 18 (0x24)
            Supported Rates: 24(B) (0xb0)
            Supported Rates: 36 (0x48)
            Supported Rates: 48 (0x60)
            Supported Rates: 54 (0x6c)
        Tag: Extended Supported Rates SAE Hash to Element Only, [Mbit/sec]
            Tag Number: Extended Supported Rates (50)
            Tag length: 1
            Extended Supported Rates: SAE Hash to Element Only (0xfb)
        Tag: Extended Capabilities (8 octets)
            Tag Number: Extended Capabilities (127)
            Tag length: 8
            Extended Capabilities: 0x05 (octet 1)
                .... ...1 = 20/40 BSS Coexistence Management Support: Supported
                .... ..0. = General Link (GLK): 0x0
                .... .1.. = Extended Channel Switching: Supported
                .... 0... = GLK-GCR: 0x0
                ...0 .... = PSMP Capability: Not supported
                ..0. .... = Reserved: 0x0
                .0.. .... = S-PSMP Support: Not supported
                0... .... = Event: Not supported
            Extended Capabilities: 0x00 (octet 2)
                .... ...0 = Diagnostics: Not supported
                .... ..0. = Multicast Diagnostics: Not supported
                .... .0.. = Location Tracking: Not supported
                .... 0... = FMS: Not supported
                ...0 .... = Proxy ARP Service: Not supported
                ..0. .... = Colocated Interference Reporting: Not supported
                .0.. .... = Civic Location: Not supported
                0... .... = Geospatial Location: Not supported
            Extended Capabilities: 0x08 (octet 3)
                .... ...0 = TFS: Not supported
                .... ..0. = WNM Sleep Mode: Not supported
                .... .0.. = TIM Broadcast: Not supported
                .... 1... = BSS Transition: Supported
                ...0 .... = QoS Traffic Capability: Not supported
                ..0. .... = AC Station Count: Not supported
                .0.. .... = Multiple BSSID: Not supported
                0... .... = Timing Measurement: Not supported
            Extended Capabilities: 0x00 (octet 4)
                .... ...0 = Channel Usage: Not supported
                .... ..0. = SSID List: Not supported
                .... .0.. = DMS: Not supported
                .... 0... = UTC TSF Offset: Not supported
                ...0 .... = TPU Buffer STA Support: Not supported
                ..0. .... = TDLS Peer PSM Support: Not supported
                .0.. .... = TDLS Channel Switching: Not supported
                0... .... = Interworking: Not supported
            Extended Capabilities: 0x00 (octet 5)
                .... ...0 = QoS Map: Not supported
                .... ..0. = EBR: Not supported
                .... .0.. = SSPN Interface: Not supported
                .... 0... = Reserved: 0x0
                ...0 .... = MSGCF Capability: Not supported
                ..0. .... = TDLS Support: Not supported
                .0.. .... = TDLS Prohibited: Not supported
                0... .... = TDLS Channel Switching Prohibited: Not supported
            Extended Capabilities: 0x00 (octet 6)
                .... ...0 = Reject Unadmitted Frame: Not supported
                .... 000. = Service Interval Granularity: 5 ms (0)
                ...0 .... = Identifier Location: Not supported
                ..0. .... = U-APSD Coexistence: Not supported
                .0.. .... = WNM Notification: Not supported
                0... .... = QAB Capability: 0x0
            Extended Capabilities: 0x00 (octet 7)
                .... ...0 = UTF-8 SSID: Not supported
                .... ..0. = QMF Activated: False
                .... .0.. = QMF Reconfiguration Activated: False
                .... 0... = Robust AV Streaming: False
                ...0 .... = Advanced GCR: False
                ..0. .... = Mesh GCR: False
                .0.. .... = SCS: False
                0... .... = QLoad Report: False
            Extended Capabilities: 0x40 (octet 8)
                .... ...0 = Alternate EDCA: False
                .... ..0. = Unprotected TXOP Negotiation: False
                .... .0.. = Protected TXOP Negotiation: False
                .... 0... = Reserved: 0x0
                ...0 .... = Protected QLoad Report: False
                ..0. .... = TDLS Wider Bandwidth: Not supported
                .1.. .... = Operating Mode Notification: Supported
                0... .... = Max Number Of MSDUs In A-MSDU: 0
        Tag: RSN eXtension (1 octet)
            Tag Number: RSN eXtension (244)
            Tag length: 1
            RSNX: 0x20 (octet 1)
                .... 0000 = RSNX Length: 0
                ...0 .... = Protected TWT Operations Support: False
                ..1. .... = SAE Hash to element: True
                .0.. .... = SAE-PK: False
                0... .... = Protected WUR Frame Support: False
        Tag: Vendor Specific: Broadcom
            Tag Number: Vendor Specific (221)
            Tag length: 9
            OUI: 00:10:18 (Broadcom)
            Vendor Specific OUI Type: 2
            Vendor Specific Data: 01001c0000

Additional context

No response

Activity

  1. pelwell commented on May 12, 2026

    @pelwell
    Contributor

    Forwarded to Infineon.

  2. pelwell commented on May 18, 2026

    @pelwell
    Contributor

    First feedback from Infineon:

    Regarding the issue about Group Management Cipher not being included in RSNIE, it looks like the STA is supposed to use BIP-CMAC-128 by default and it's optional to be included or not.

  3. bnicolae commented on May 19, 2026

    @bnicolae
    ContributorAuthor

    ​From the Wi-Fi Alliance WPA3 Specification (Section 3.2: WPA3-Personal Only BSS configuration):
    ​"A WPA3-Personal Only BSS shall select security parameters for the BSS configuration that match the WPA3-Personal Only mode requirements:
    ​AKM Suite Selector shall be set to 00-0F-AC:8 (SAE).
    ​Pairwise Cipher Suite Selector shall be set to 00-0F-AC:4 (CCMP-128) or 00-0F-AC:8 (GCMP-128).
    ​Group Data Cipher Suite Selector shall be set to 00-0F-AC:4 (CCMP-128) or 00-0F-AC:8 (GCMP-128).
    ​Management Frame Protection Capable (MFPC) bit shall be set to 1.
    ​Management Frame Protection Required (MFPR) bit shall be set to 1.
    ​Group Management Cipher Suite Selector shall be present and set to 00-0F-AC:6 (BIP-CMAC-128)."

    The language used is "shall be present and set to". This seems pretty explicit to me as non-optional. It's optional is transition mode though. I am not following the standards enough to insist on this issue. Maybe they are right :)

  4. pelwell commented on May 19, 2026

    @pelwell
    Contributor

    Forwarded to Infineon.

  5. bnicolae commented on May 19, 2026

    @bnicolae
    ContributorAuthor

    Sorry, I shouldn't have closed it. Reopened.

  6. bnicolae commented on May 19, 2026

    @bnicolae
    ContributorAuthor

    In any case, the main issue of this post is still a concern. Even if the client is not influenced by the missing group management cipher (which is a possibility, e.g., seeing a missing field makes it use its own defaults for other fields too like OCV), the association shouldn't fail.

  7. pelwell commented on May 20, 2026

    @pelwell
    Contributor

    Neither Infineon nor I could find your quotation in v 3.5 of the spec, but I think I found an equivalent section. This was my response:

    To save time I had a look myself. That does not look like a quote from version 3.5 of the specification, but section 2.4 contains the following:

    "3. An AP's BSS Configuration shall, irrespective of the band the BSS is operating on, enable CCMP-128 as the
    group data cipher suite and BIP-CMAC-128 as the group management cipher suite. The AP advertises this
    configuration as follows:
    a. The AP shall advertise CCMP-128 in the RSNE as the group data cipher.
    b. The AP shall advertise CCMP-128 as the group data cipher and BIP-CMAC-128 as the group
    management cipher suite in the RSNE Override element.
    c. The AP shall, if the BSS enables EHT or MLO, advertise CCMP-128 as the group data cipher and BIPCMAC-
    128 as the group management cipher suite in the RSNE Override 2 element."

    Item b above seems to back up the user's claim: "The AP shall advertise CCMP-128 as the group data cipher and BIP-CMAC-128 as the group management cipher suite in the RSNE Override element." (my emphasis).

  8. pelwell commented on May 20, 2026

    @pelwell
    Contributor

    Infineon kindly pointed out that this was in a section called "WPA3 Personal Compatibility", which is not the same as "WPA3 Personsal". In case it helps your case, in which version of the WPA3 spec did you find the section you quoted above?

  9. bnicolae commented on May 20, 2026

    @bnicolae
    ContributorAuthor

    Thank you. I'm not sure which version I was looking at, but I downloaded the v3.5 PDF and indeed WPA3-Personal Only Mode does not mention the group management cipher. So they are probably right. I will close the previous issue but will leave this one open because of the association issue.

  10. pelwell commented on Jun 2, 2026

    @pelwell
    Contributor

    Another response from Infineon:

    I tested with Qualcomm® FastConnect™ 7800 and i wasn't able to trigger the issue. i will test on a 7900 device as well i do not have one yet so checking internally if i can get one.
    How often is the user able to reproduce this issue?
    can they provide their complete hostapd.conf file?

  11. bnicolae commented on Jun 4, 2026

    @bnicolae
    ContributorAuthor

    Please let them know the issue is always reproducible. Here's the content of my hostapd.conf:

    interface=wlan0
    driver=nl80211
    ssid=<redacted>
    country_code=US
    
    # Raspberry Pi4
    wmm_enabled=1
    hw_mode=a
    require_ht=1
    ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40]
    ieee80211ac=1
    require_vht=1
    vht_capab=[SHORT-GI-80][SU-BEAMFORMEE]
    vht_oper_chwidth=1
    channel=36
    vht_oper_centr_freq_seg0_idx=42
    
    # Auth
    wpa=2
    rsn_pairwise=CCMP
    ieee80211w=2
    wpa_key_mgmt=SAE
    sae_password=<redacted>
    sae_pwe=1
    sae_groups=21 20 19
    transition_disable=1
    
  12. pelwell commented on Jun 5, 2026

    @pelwell
    Contributor

    It has been suggested that it might help if you created an account on the Infineon customer support portal, which would then allow you to be added to the case directly. It will reduce the round trip time, and make it easier to, for example, share trial firmwares. If that sounds acceptable, go to https://mycases.infineon.com and register for an account, then email me (phil@raspberrypi.com) directly and I can add you as a collaborator.

  13. bnicolae commented on Jun 5, 2026

    @bnicolae
    ContributorAuthor

    Sure, I've created an Infineon account and sent you an email.

  14. pelwell commented on Jun 5, 2026

    @pelwell
    Contributor

    I expect you will be added to the case next week.

  15. bnicolae commented on Jun 12, 2026

    @bnicolae
    ContributorAuthor

    @pelwell: there is progress on the Infineon case that requires your attention

  16. pelwell commented on Jun 12, 2026

    @pelwell
    Contributor

    Do you think I don't get CCed on every message?

  17. bnicolae commented on Jun 16, 2026

    @bnicolae
    ContributorAuthor

    I didn't know that for sure, and even if I suspected you were, I wouldn't know how closely you followed that thread. So that's why I thought a ping here wouldn't hurt. Thanks for confirming you are keeping a close eye on the situation.

  18. pelwell commented on Jun 16, 2026

    @pelwell
    Contributor

    The problem we have had with Infineon/Cypress (and Synaptics, to some extent) is that their software release model is very different to ours. They must mainly sell WiFi parts to companies selling devices where they don't need to run the latest version of Linux, so they can afford to cling onto some ancient version and ship enormous patch sets, most of which are changes that we don't need but are very hard to drop because of the inter-patch dependencies.

  19. bnicolae commented on Jun 25, 2026

    @bnicolae
    ContributorAuthor

    My fix is tiny, so hopefully their enormous patch set can be ignored for now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions