qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
426 stars 181 forks source link

Replacing buffered frame with a new frame (with different length and MCS) #141

Open makesens86 opened 6 years ago

makesens86 commented 6 years ago

Hello?

When an AP is waiting to access channel before its transmission, can a buffered frame be replaced with a new frame with different length and MCS?

For example, let's assume there are 2 A-MPDU frames in the TX buffer, (one is consisting of subframes #1-5, and the other is consisting of subframes 6-10). In this case, is it possible to make new A-MPDU frame with subframe number 1-8?

Right now, I am considering this way. First, flush out all the buffered A-MPDU frames and move all the subframes in the software queue and make a new A-MPDU frame with target length. Is there any other option to recommend? (I am studying the src code related with A-MPDU generation, but still long way to go.. T_T).

Thank you very much.

erikarn commented 6 years ago

hi,

once it in the hw tx queue it needs to go out or be aborted and retried.

-a

On 28 March 2018 at 23:48, Hyunjoong Lee notifications@github.com wrote:

Hello?

When an AP is waiting to access channel before its transmission, can a buffered frame be replaced with a new frame with different length and MCS?

For example, let's assume there are 2 A-MPDU frames in the TX buffer, (one is consisting of subframes #1 https://github.com/qca/open-ath9k-htc-firmware/issues/1-5, and the other is consisting of subframes 6-10). In this case, is it possible to make new A-MPDU frame with subframe number 1-8?

Right now, I am considering this way. First, flush out all the buffered A-MPDU frames and move all the subframes in the software queue and make a new A-MPDU frame with target length. Is there any other option to recommend?

Thank you very much.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/qca/open-ath9k-htc-firmware/issues/141, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7WQ2U313meL6kB3N1n_Pv0HCFsejks5tjIOhgaJpZM4S_1HU .

makesens86 commented 6 years ago

@erikarn Hi, always appreciate for your comments. If it is aborted, is the original frame (multiple subframes) buffered software queue? I will look into the src code about abort and retry.

hyunjoong