summaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2017-11-28 15:53:15 +0300
committerStefan Schmidt <stefan@osg.samsung.com>2017-11-29 18:49:41 +0300
commit8f1878a182dcc5a15a57c7fc7d8182bea0733dfa (patch)
treebb933e39458a1f36bff86e8d3dd973689cbd2910 /Documentation/networking
parentc78c1b01394406182fab5caff25ac58f754c702d (diff)
downloadlinux-8f1878a182dcc5a15a57c7fc7d8182bea0733dfa.tar.xz
net: ieee802154: adf7242: Rework IRQ and packet handling
* Stop unconditionally polling for RC_STATUS_PHY_RDY at the entry of the threaded IRQ handler. Once IRQ_RX_PKT_RCVD is received we can read immediately the packet from the buffer. However we still need to wait afterwards for RC_STATUS_PHY_RDY, to make sure that the ACK (in case requested) was processed and send out by the Radio Controller, before we issue the next CMD_RC_RX. This significantly reduces the overall time spend in the threaded IRQ handler. * Avoid raise condition between xmit and coincident packet reception, by disabling the IRQ and clearing the IRQ status upon xmit entry. * Introduce helper functions adf7242_clear_irqstat() and adf7242_cmd_rx() Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions