]> git.baikalelectronics.ru Git - kernel.git/commit
mwl8k: Set packet timestamp to 0 when life time expiry is not used
authorNishant Sarmukadam <nishants@marvell.com>
Tue, 6 Nov 2012 13:53:15 +0000 (19:23 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:56:12 +0000 (14:56 -0500)
commitfa4e64d7f74d96fe5ab5f8f08053ce8648e1030a
treeb64d7c0995178e631392ba4a553be8c2e3be42c5
parent7a03e7199606e434c3044db7bfb2ad008ffe4325
mwl8k: Set packet timestamp to 0 when life time expiry is not used

Set tx packet timestamp to 0 in following scenarios:-
- All packets in STA mode
- Mgmt packets in AP mode
- Eapol packets in AP mode

In STA mode, this field is unused in the firmware. In AP
mode, we should not be expiring mgmt and eapol frames.
Setting timestamp to 0 will ensure that.

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c