Summary: | hostapd(8) uses the MAC of the wireless interface, but should use the BSSID. | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Erik Fonnesbeck <efonnes> | ||||
Component: | wireless | Assignee: | freebsd-wireless (Nobody) <wireless> | ||||
Status: | Open --- | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Unspecified | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Erik Fonnesbeck
2010-02-19 14:40:00 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-wireless new wireless mailing list The file containing the code mentioned in the PR appears to have been moved to contrib/wpa/src/l2_packet/l2_packet_freebsd.c and does still use the code that causes hostapd to malfunction when the wireless MAC and BSSID are configured to not be the same as each other. This patch I made a while ago gets the BSSID instead of the interface's ethernet MAC so that hostapd works even if the two do not match. It is incomplete, however; because with this patch hostapd does not work if the interface was not up already when hostapd was started (it fails to acquire the BSSID). If there is some way to get it without the interface being up, that would probably be better. It must exist somewhere, because it is obviously already stored somewhere, but I just do not know how to get it. If it is not possible, it could be necessary to bring up the interface a bit sooner in hostapd. batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed. |