f444eb10d5
The wakeup packet in the status response is padded out to a multiple of 4 bytes by the firmware for transfer to the host, take that into account when checking the length of the command. Also, the reported wakeup packet includes the FCS but the userspace API doesn't, so remove that. If it is a data packet it is reported as an 802.3 packet but I forgot to take into account and remove the encryption head/tail, fix all of that as well. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
binding.c | ||
d3.c | ||
debugfs.c | ||
fw-api-d3.h | ||
fw-api-mac.h | ||
fw-api-power.h | ||
fw-api-rs.h | ||
fw-api-scan.h | ||
fw-api-sta.h | ||
fw-api-tx.h | ||
fw-api.h | ||
fw.c | ||
led.c | ||
mac-ctxt.c | ||
mac80211.c | ||
mvm.h | ||
nvm.c | ||
ops.c | ||
phy-ctxt.c | ||
power.c | ||
quota.c | ||
rs.c | ||
rs.h | ||
rx.c | ||
scan.c | ||
sta.c | ||
sta.h | ||
time-event.c | ||
time-event.h | ||
tx.c | ||
utils.c |