diff options
Diffstat (limited to 'include/linux/uwb.h')
-rw-r--r-- | include/linux/uwb.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/include/linux/uwb.h b/include/linux/uwb.h index 010ee708304d..6d93f54b8879 100644 --- a/include/linux/uwb.h +++ b/include/linux/uwb.h | |||
@@ -444,7 +444,6 @@ ssize_t uwb_rc_vcmd(struct uwb_rc *rc, const char *cmd_name, | |||
444 | struct uwb_rccb *cmd, size_t cmd_size, | 444 | struct uwb_rccb *cmd, size_t cmd_size, |
445 | u8 expected_type, u16 expected_event, | 445 | u8 expected_type, u16 expected_event, |
446 | struct uwb_rceb **preply); | 446 | struct uwb_rceb **preply); |
447 | ssize_t uwb_rc_get_ie(struct uwb_rc *, struct uwb_rc_evt_get_ie **); | ||
448 | int uwb_bg_joined(struct uwb_rc *rc); | 447 | int uwb_bg_joined(struct uwb_rc *rc); |
449 | 448 | ||
450 | size_t __uwb_addr_print(char *, size_t, const unsigned char *, int); | 449 | size_t __uwb_addr_print(char *, size_t, const unsigned char *, int); |
@@ -653,22 +652,9 @@ static inline int edc_inc(struct edc *err_hist, u16 max_err, u16 timeframe) | |||
653 | 652 | ||
654 | /* Information Element handling */ | 653 | /* Information Element handling */ |
655 | 654 | ||
656 | /* For representing the state of writing to a buffer when iterating */ | ||
657 | struct uwb_buf_ctx { | ||
658 | char *buf; | ||
659 | size_t bytes, size; | ||
660 | }; | ||
661 | |||
662 | typedef int (*uwb_ie_f)(struct uwb_dev *, const struct uwb_ie_hdr *, | ||
663 | size_t, void *); | ||
664 | struct uwb_ie_hdr *uwb_ie_next(void **ptr, size_t *len); | 655 | struct uwb_ie_hdr *uwb_ie_next(void **ptr, size_t *len); |
665 | ssize_t uwb_ie_for_each(struct uwb_dev *uwb_dev, uwb_ie_f fn, void *data, | 656 | int uwb_rc_ie_add(struct uwb_rc *uwb_rc, const struct uwb_ie_hdr *ies, size_t size); |
666 | const void *buf, size_t size); | 657 | int uwb_rc_ie_rm(struct uwb_rc *uwb_rc, enum uwb_ie element_id); |
667 | int uwb_ie_dump_hex(struct uwb_dev *, const struct uwb_ie_hdr *, | ||
668 | size_t, void *); | ||
669 | int uwb_rc_set_ie(struct uwb_rc *, struct uwb_rc_cmd_set_ie *); | ||
670 | struct uwb_ie_hdr *uwb_ie_next(void **ptr, size_t *len); | ||
671 | |||
672 | 658 | ||
673 | /* | 659 | /* |
674 | * Transmission statistics | 660 | * Transmission statistics |