Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ieee80211/include/ieee80211.h

    rcde999a rb7fd2a0  
    106106         *
    107107         */
    108         int (*start)(struct ieee80211_dev *);
     108        errno_t (*start)(struct ieee80211_dev *);
    109109       
    110110        /** Scan neighborhood for networks.
     
    118118         *
    119119         */
    120         int (*scan)(struct ieee80211_dev *);
     120        errno_t (*scan)(struct ieee80211_dev *);
    121121       
    122122        /** Handler for TX frames to be send from device.
     
    132132         *
    133133         */
    134         int (*tx_handler)(struct ieee80211_dev *, void *, size_t);
     134        errno_t (*tx_handler)(struct ieee80211_dev *, void *, size_t);
    135135       
    136136        /** Set device operating frequency to given value.
     
    142142         *
    143143         */
    144         int (*set_freq)(struct ieee80211_dev *, uint16_t);
     144        errno_t (*set_freq)(struct ieee80211_dev *, uint16_t);
    145145       
    146146        /** Callback to inform device about BSSID change.
     
    152152         *
    153153         */
    154         int (*bssid_change)(struct ieee80211_dev *, bool);
     154        errno_t (*bssid_change)(struct ieee80211_dev *, bool);
    155155       
    156156        /** Callback to setup encryption key in IEEE 802.11 device.
     
    164164         *
    165165         */
    166         int (*key_config)(struct ieee80211_dev *,
     166        errno_t (*key_config)(struct ieee80211_dev *,
    167167            ieee80211_key_config_t *key_conf, bool);
    168168} ieee80211_ops_t;
     
    170170/* Initialization functions. */
    171171extern ieee80211_dev_t *ieee80211_device_create(void);
    172 extern int ieee80211_device_init(ieee80211_dev_t *, ddf_dev_t *);
    173 extern int ieee80211_init(ieee80211_dev_t *, ieee80211_ops_t *,
     172extern errno_t ieee80211_device_init(ieee80211_dev_t *, ddf_dev_t *);
     173extern errno_t ieee80211_init(ieee80211_dev_t *, ieee80211_ops_t *,
    174174    ieee80211_iface_t *, nic_iface_t *, ddf_dev_ops_t *);
    175175
     
    201201
    202202/* Worker functions. */
    203 extern int ieee80211_rx_handler(ieee80211_dev_t *, void *, size_t);
     203extern errno_t ieee80211_rx_handler(ieee80211_dev_t *, void *, size_t);
    204204
    205205#endif
Note: See TracChangeset for help on using the changeset viewer.