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]

 



On Tue, Nov 02, 2010 at 01:50:07PM +0100, Johannes Stezenbach wrote:
> 
> 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.


Johannes
--
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