Hi Mahaveer,

Some time ago I had to to preserve the sequence number if injected
packets. What I found and did:
* Avoid sequence number overwrite in target_firmware/wlan/if_owl.c to
wh->i_seq[0]
* At the same location, mark the frame as CF-Poll frame: `atype =
HAL_PKT_TYPE_PSPOLL;`

If you do not mark it as a CF-Poll frame, the wireless chip might
still overwrite the sequence number.

Cheers,
Mathy

On Sun, Jun 1, 2014 at 8:45 PM, Sergey Ryazanov <ryazanov....@gmail.com> wrote:
> Hello,
>
> 2014-05-31 5:44 GMT+04:00 mahaveer gupta <mgupta1...@gmail.com>:
>> Hello,
>>
>> We need to disable increments of mac layer sequence control field in the MAC
>> header for some diagnostic purposes.
>>
>> Please let me know if there is some register settings that can be done to
>> achieve the same in ath9k
>>
>
> AFAIK, sequence numbers are generated in software. Some management
> frames (beacons at least) get seqnum in the driver, all other frames
> (data, management, etc.) obtain seqnum in the mac80211.
>
> --
> BR,
> Sergey
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to