KrasnikovEugene / wcn36xx

21 stars 16 forks source link

Refactor TX path #71

Closed KrasnikovEugene closed 11 years ago

KrasnikovEugene commented 11 years ago

With this patch all parameters will be first passed to txrx module and only after that to dxe. This will allow passing less parameters to the functions. Also make sure that data frames will get as fast as possible to the HW.

Short function description:

wcn36xx_start_tx - fills in BD and trigger dxe to start transmitting.

wcn36xx_set_tx_pdu - fills in PDU part of BD.

wcn36xx_set_tx_data - set data specific BD parameters

wcn36xx_set_tx_mgmt - set BD parameters that are specific to management and control frames.

wcn36xx_dxe_tx_frame - transmits one frame from the head of the descriptors.

Signed-off-by: Eugene Krasnikov k.eugene.e@gmail.com