Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • drivers
  • net
  • wireless
  • ath
  • carl9170
  • tx.c
Find file BlameHistoryPermalink
  • Nicolas Cavallari's avatar
    carl9170: Fix memory accounting when sta is in power-save mode. · 992d5252
    Nicolas Cavallari authored Feb 23, 2012
    
    
    On Access Point mode, when transmitting a packet, if the destination
    station is in powersave mode, we abort transmitting the packet to the
    device queue, but we do not reclaim the allocated memory.  Given enough
    packets, we can go in a state where there is no packet on the device
    queue, but we think the device has no memory left, so no packet gets
    transmitted, connections breaks and the AP stops working.
    
    This undo the allocation done in the TX path when the station is in
    power-save mode.
    
    Signed-off-by: default avatarNicolas Cavallari <cavallar@lri.fr>
    Acked-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    992d5252