09 Apr, 2013
1 commit
-
Two sections checked whether the current channel != the new channel
without ever setting the current channel variables.1. net/mac802154/tx.c: Prevent set_channel() from getting called every
time a packet is sent.2. net/mac802154/mib.c: Lock (pib_lock) accesses to current_channel and
current_page and make sure they are updated when the channel has been
changed.Signed-off-by: Alan Ott
Signed-off-by: David S. Miller
08 Apr, 2013
2 commits
-
Use netif_stop_queue() and netif_wake_queue() to control the flow of
packets to mac802154 devices. Since many IEEE 802.15.4 devices have no
output buffer, and since the mac802154 xmit() function is designed to
block, netif_stop_queue() is called after each packet.Signed-off-by: Alan Ott
Signed-off-by: David S. Miller -
When ops->xmit() fails, drop the packet. Devices which support hardware
ack and retry (which include all devices currently supported by mainline),
will automatically retry sending the packet (in the hardware) up to 3
times, per the 802.15.4 spec. There is no need, and it is incorrect to
try to do it in mac802154.Signed-off-by: Alan Ott
Signed-off-by: David S. Miller
01 Dec, 2012
2 commits
-
kfree_skb() indicates failure, which is where this is being used.
Signed-off-by: Alan Ott
Signed-off-by: David S. Miller -
kfree_skb() was not getting called in the case of some failures.
This was pointed out by Eric Dumazet.Signed-off-by: Alan Ott
Signed-off-by: David S. Miller
29 Jun, 2012
1 commit
-
Conflicts:
drivers/net/caif/caif_hsi.c
drivers/net/usb/qmi_wwan.cThe qmi_wwan merge was trivial.
The caif_hsi.c, on the other hand, was not. It's a conflict between
1c385f1fdf6f9c66d982802cd74349c040980b50 ("caif-hsi: Replace platform
device with ops structure.") in the net-next tree and commit
39abbaef19cd0a30be93794aa4773c779c3eb1f3 ("caif-hsi: Postpone init of
HIS until open()") in the net tree.I did my best with that one and will ask Sjur to check it out.
Signed-off-by: David S. Miller
27 Jun, 2012
1 commit
-
Add monitor receive callback to the TX datapath to catch all the
data sent to transceivers.Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller
26 Jun, 2012
1 commit
-
Add missed braces after 'if' operator.
Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller
17 May, 2012
1 commit
-
Main TX data path implementation between upper and physical layers.
Signed-off-by: Alexander Smirnov
Signed-off-by: David S. Miller