#1945: madwifi can't receive an action frame except in a monitor mode
------------------------------------------+---------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:              
          Type:  defect                   |      Status:  new         
      Priority:  minor                    |   Milestone:              
     Component:  madwifi: other           |     Version:  v0.9.4      
    Resolution:                           |    Keywords:  action frame
Patch_attached:  0                        |  
------------------------------------------+---------------------------------
Comment (by [EMAIL PROTECTED]):

 I found the problem is the rx queue filter, which is as follow.

 {{{
 /* Rx Filter Frame Types */
 typedef enum {
         HAL_RX_FILTER_UCAST     = 0x00000001,   /* Allow unicast frames */
         HAL_RX_FILTER_MCAST     = 0x00000002,   /* Allow multicast frames
 */
         HAL_RX_FILTER_BCAST     = 0x00000004,   /* Allow broadcast frames
 */
         HAL_RX_FILTER_CONTROL   = 0x00000008,   /* Allow control frames */
         HAL_RX_FILTER_BEACON    = 0x00000010,   /* Allow beacon frames */
         HAL_RX_FILTER_PROM      = 0x00000020,   /* Promiscuous mode */
         HAL_RX_FILTER_XRPOLL    = 0x00000040,   /* Allow XR poll frmae */
         HAL_RX_FILTER_PROBEREQ  = 0x00000080,   /* Allow probe request
 frames */
         HAL_RX_FILTER_PHYERR    = 0x00000100,   /* Allow phy errors */
         HAL_RX_FILTER_PHYRADAR  = 0x00000200,   /* Allow phy radar
 errors*/
 } HAL_RX_FILTER;
 }}}

 In madwifi master mode, it only receive the HAL_RX_FILTER_UCAST |
 HAL_RX_FILTER_BCAST | HAL_RX_FILTER_MCAST | HAL_RX_FILTER_PROBEREQ |
 HAL_RX_FILTER_PHYERR.

 In madwifi monitor mode, it also receive the HAL_RX_FILTER_CONTROL |
 HAL_RX_FILTER_BEACON | HAL_RX_FILTER_PROM

 The multiple virtual interface share the same filter setted by
 ath_hal_setrxfilter.

 The action frame is received in HAL_RX_FILTER_PROM.

 So now my question is whether there is more accurate filter from
 management frame for hal. Or we have to use the ath5k with open_hal.

-- 
Ticket URL: <https://madwifi.org/ticket/1945#comment:2>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to