A Method Considering Frequency Selective Fading for WLAN-based Indoor Localization