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

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * ACS - Automatic Channel Selection module
       3                 :            :  * Copyright (c) 2011, Atheros Communications
       4                 :            :  * Copyright (c) 2013, Qualcomm Atheros, Inc.
       5                 :            :  *
       6                 :            :  * This software may be distributed under the terms of the BSD license.
       7                 :            :  * See README for more details.
       8                 :            :  */
       9                 :            : 
      10                 :            : #ifndef ACS_H
      11                 :            : #define ACS_H
      12                 :            : 
      13                 :            : #ifdef CONFIG_ACS
      14                 :            : 
      15                 :            : enum hostapd_chan_status acs_init(struct hostapd_iface *iface);
      16                 :            : 
      17                 :            : #else /* CONFIG_ACS */
      18                 :            : 
      19                 :          0 : static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface)
      20                 :            : {
      21                 :          0 :         wpa_printf(MSG_ERROR, "ACS was disabled on your build, rebuild hostapd with CONFIG_ACS=y or set channel");
      22                 :          0 :         return HOSTAPD_CHAN_INVALID;
      23                 :            : }
      24                 :            : 
      25                 :            : #endif /* CONFIG_ACS */
      26                 :            : 
      27                 :            : #endif /* ACS_H */

Generated by: LCOV version 1.9