LCOV - code coverage report
Current view: top level - src/ap - p2p_hostapd.h (source / functions) Hit Total Coverage
Test: wpa_supplicant/hostapd combined for hwsim test run 1393793999 Lines: 2 2 100.0 %
Date: 2014-03-02 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * hostapd / P2P integration
       3                 :            :  * Copyright (c) 2009-2010, Atheros Communications
       4                 :            :  *
       5                 :            :  * This software may be distributed under the terms of the BSD license.
       6                 :            :  * See README for more details.
       7                 :            :  */
       8                 :            : 
       9                 :            : #ifndef P2P_HOSTAPD_H
      10                 :            : #define P2P_HOSTAPD_H
      11                 :            : 
      12                 :            : #ifdef CONFIG_P2P
      13                 :            : 
      14                 :            : int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
      15                 :            :                             char *buf, size_t buflen);
      16                 :            : int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start,
      17                 :            :                         int duration);
      18                 :            : void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd);
      19                 :            : void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd);
      20                 :            : 
      21                 :            : 
      22                 :            : #else /* CONFIG_P2P */
      23                 :            : 
      24                 :         16 : static inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd,
      25                 :            :                                           struct sta_info *sta,
      26                 :            :                                           char *buf, size_t buflen)
      27                 :            : {
      28                 :         16 :         return 0;
      29                 :            : }
      30                 :            : 
      31                 :            : #endif /* CONFIG_P2P */
      32                 :            : 
      33                 :            : u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
      34                 :            : 
      35                 :            : #endif /* P2P_HOSTAPD_H */

Generated by: LCOV version 1.9