Search Linux Wireless

Re: [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>> Sorry for slow response time.  I can confirm that changing
>>               rt2x00lib_config_intf(rt2x00dev, intf, vif->type,
>>                                     intf->mac, intf->bssid);
>> to
>>               rt2x00lib_config_intf(rt2x00dev, intf, vif->type,
>>                                     intf->mac, NULL);
>> in rt2x00mac_add_interface() fixes rt73usb AP mode for me, too.
>
> After studying the code some more, I'm confused by the
> comment for this code in rt2x00mac_add_interface():
>
>         * The BSSID address must only be configured in AP mode,
>         * however we should not send an empty BSSID address for
>         * STA interfaces at this time, since this can cause
>         * invalid behavior in the device.
>
> On the contrary I think the BSSID needs to be configured for STA mode
> since it acts as a receive filter for broadcase/multicast frames.
> The 802.11 standard says in 7.2.2 Data frames:
>
>        A STA uses the contents of the Address 1 field to perform address
>        matching for receive decisions. In cases where the Address 1 field
>        contains a group address, the BSSID also is validated to ensure that
>        the broadcast or multicast originated from a STA in the BSS of which
>        the receiving STA is a member.
>
> The ralinktech.com drivers seem to set the BSSID for STA mode and IBSS mode.

True, but the comment in rt2x00 says:
 'empty BSSID address' and 'at this time'

The legacy drivers from Ralink configure the BSSID, same as rt2x00 driver do,
when we start the association procedure. This complies with the 802.11 standard
for filtering the data frames.

Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux