|
@@ -684,6 +684,7 @@ static void hwsim_send_nullfunc(struct mac80211_hwsim_data *data, u8 *mac,
|
|
|
hdr = skb_put(skb, sizeof(*hdr) - ETH_ALEN);
|
|
|
hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA |
|
|
|
IEEE80211_STYPE_NULLFUNC |
|
|
|
+ IEEE80211_FCTL_TODS |
|
|
|
(ps ? IEEE80211_FCTL_PM : 0));
|
|
|
hdr->duration_id = cpu_to_le16(0);
|
|
|
memcpy(hdr->addr1, vp->bssid, ETH_ALEN);
|