uwb: improved MAS allocator and reservation conflict handling
Greatly enhance the MAS allocator: - Handle row and column reservations. - Permit all the available MAS to be allocated. - Follows the WiMedia rules on MAS selection. Take appropriate action when reservation conflicts are detected. - Correctly identify which reservation wins the conflict. - Protect alien BP reservations. - If an owned reservation loses, resize/move it. - Follow the backoff procedure before requesting additional MAS. When reservations are terminated, move the remaining reservations (if necessary) so they keep following the MAS allocation rules. Signed-off-by:Stefano Panella <stefano.panella@csr.com> Signed-off-by:
David Vrabel <david.vrabel@csr.com>
Showing
- drivers/usb/wusbcore/reservation.c 7 additions, 6 deletionsdrivers/usb/wusbcore/reservation.c
- drivers/uwb/Makefile 1 addition, 0 deletionsdrivers/uwb/Makefile
- drivers/uwb/allocator.c 386 additions, 0 deletionsdrivers/uwb/allocator.c
- drivers/uwb/drp-avail.c 3 additions, 1 deletiondrivers/uwb/drp-avail.c
- drivers/uwb/drp-ie.c 123 additions, 37 deletionsdrivers/uwb/drp-ie.c
- drivers/uwb/drp.c 527 additions, 154 deletionsdrivers/uwb/drp.c
- drivers/uwb/rsv.c 382 additions, 100 deletionsdrivers/uwb/rsv.c
- drivers/uwb/uwb-debug.c 26 additions, 23 deletionsdrivers/uwb/uwb-debug.c
- drivers/uwb/uwb-internal.h 79 additions, 1 deletiondrivers/uwb/uwb-internal.h
- include/linux/uwb.h 43 additions, 4 deletionsinclude/linux/uwb.h
- include/linux/uwb/debug-cmd.h 1 addition, 1 deletioninclude/linux/uwb/debug-cmd.h
- include/linux/uwb/spec.h 25 additions, 0 deletionsinclude/linux/uwb/spec.h
Loading
Please register or sign in to comment