On Sat, 2016-10-15 at 13:28 +0200, Michael Braun wrote:
> According to IEEE 802.11-2012 section 8.3.2 table 8-19, the outer
> SA/DA
> of A-MSDU frames need to be changed depending on FromDS/ToDS values.

Also applied,

> +     if (bssid && ieee80211_has_fromds(hdr->frame_control))
> +             memcpy(h_80211_src, bssid, ETH_ALEN);
> +
> +     if (bssid && ieee80211_has_tods(hdr->frame_control))
> +             memcpy(h_80211_dst, bssid, ETH_ALEN);

but I also changed these to ether_addr_copy()

johannes

Reply via email to