#417: ps-poll packet with a Spectralink i640 phone
----------------------------------------+-----------------------------------
      Reporter:  [EMAIL PROTECTED]        |       Owner:       
          Type:  defect                 |      Status:  new  
      Priority:  major                  |   Milestone:       
     Component:  madwifi: 802.11 stack  |     Version:  trunk
    Resolution:                         |    Keywords:       
Patch_attached:  0                      |  
----------------------------------------+-----------------------------------
Comment (by anonymous):

 compile errors:
 {{{
   CC [M]  net80211/ieee80211_output.o
 net80211/ieee80211_output.c: In function 'ieee80211_parent_queue_xmit':
 net80211/ieee80211_output.c:308: error: request for member 'ic_lastdata'
 in something not a structure or union
 }}}

 anyway, so, I _fixed_ it myself:
 {{{
 void ieee80211_parent_queue_xmit(struct sk_buff *skb) {
         struct ieee80211vap *vap = skb->dev->priv;
         struct ieee80211com *ic = vap->iv_ic;

         vap->iv_devstats.tx_packets++;
         vap->iv_devstats.tx_bytes += skb->len;
         ic->ic_lastdata = jiffies;

         // Dispatch the packet to the parent device
         skb->dev = vap->iv_ic->ic_dev;
         (void) dev_queue_xmit(skb);
 }
 }}}

 but it still doesn't work correctly:
 {{{
 ath0: [CLIENT-MAC] power save mode off, 0 sta's in ps mode
 ath0: [CLIENT-MAC] flush ps queue, 3 packets queued
 ath0: [CLIENT-MAC] send station deauthenticate (reason 6)
 ath0: [CLIENT-MAC] send station deauthenticate (reason 6)
 ath0: [SERV-MAC] ieee80211_beacon_update: TIM updated, pending 0, off 0,
 len 1
 ath0: [CLIENT-MAC] recv auth frame with algorithm 0 seq 1
 ath0: [CLIENT-MAC] station authenticated (open)
 ath0: [CLIENT-MAC] UAPSD bit settings from STA: 00
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/417>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to