summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/Config.in
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-17 15:36:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-17 15:36:57 +0000
commitdf10e201eb26edcdbfe75d8e1757f29db49126a2 (patch)
tree901abce40de849802029c9b2b40abe31f17e041c /toolchain/uClibc/Config.in
parent7b90f141df6b2ad32104de27114a4230a8cbdee0 (diff)
downloadmaster-31e0f0ae-df10e201eb26edcdbfe75d8e1757f29db49126a2.tar.gz
master-31e0f0ae-df10e201eb26edcdbfe75d8e1757f29db49126a2.tar.bz2
master-31e0f0ae-df10e201eb26edcdbfe75d8e1757f29db49126a2.zip
mac80211: rework mac address allocation
If the first byte is available in the address mask, use only that one - set the local bit and xor it with the id << 2. This ensures that there are no hardware BSSID & BSSID-mask conflicts with devices that have almost the same MAC address with just a small offset. The MAC address conflict has been observed in a deployment with some devices from the same batch when running with multiple interfaces. If only some bits of the last byte are available, xor the id onto the last MAC address byte (relevant mostly for Ralink devices). In other cases (should not happen at this point), use the previous MAC address offset calculation but without the local bit. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36353
Diffstat (limited to 'toolchain/uClibc/Config.in')
0 files changed, 0 insertions, 0 deletions