bwn: fixing performance problems and an RX buffer overflow problem
authorImre Vadasz <imre@vdsz.com>
Thu, 3 Apr 2014 12:16:48 +0000 (14:16 +0200)
committerSascha Wildner <saw@online.de>
Sat, 5 Apr 2014 17:38:36 +0000 (19:38 +0200)
commitb7a8b6abd2cfa6cd927aefa770aff3030ffce28c
tree7dcd0fe77c46a10b21b529ec513f1c2e1084d250
parenta0ab8429dd1cce13c0f31a0bf66620e34f83b8a7
bwn: fixing performance problems and an RX buffer overflow problem

* Commenting a bwn_shm_write_2 call that destroys performance especially
  when sending.  This call is also commented in Linux's b43 driver.

* Handling Overflows of the RX buffer in bwn by just dropping all entries.
  With 256 slots in the RX buffer this overflow will almost never happen in
  practice.
sys/dev/netif/bwn/bwn/if_bwn.c
sys/dev/netif/bwn/bwn/if_bwnvar.h