Return-path: Received: from mailhub-lb1.unibe.ch ([130.92.0.82]:52524 "EHLO mailhub-lb1.unibe.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755417Ab0GVQbH (ORCPT ); Thu, 22 Jul 2010 12:31:07 -0400 Received: from localhost (scanhub-lb1.unibe.ch [130.92.5.65]) by mailhub-lb1.unibe.ch (Postfix) with ESMTP id 18D4E11C187 for ; Thu, 22 Jul 2010 18:31:04 +0200 (CEST) Received: from mailhub-lb1.unibe.ch ([130.92.0.82]) by localhost (scanhub-lb1.unibe.ch [130.92.5.65]) (amavisd-new, port 10024) with LMTP id xDvZMrG3ssSr for ; Thu, 22 Jul 2010 18:31:01 +0200 (CEST) Received: from mail.iam.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub-lb1.unibe.ch (Postfix) with ESMTP id DC2D511C0F0 for ; Thu, 22 Jul 2010 18:31:01 +0200 (CEST) Message-ID: <4C487243.4070908@iam.unibe.ch> Date: Thu, 22 Jul 2010 18:30:59 +0200 From: Zhongliang Zhao MIME-Version: 1.0 To: linux-wireless@vger.kernel.org CC: Staub Thomas Subject: How to Get Channel within iw-tool Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi all, We have a small system with iw-tool installed, and we wrote a program to set the channel of wireless interface. However we're currently lost in the iw web page about how to check the currently used channel of certain interface, namely the "get channel" functionality. Does anyone have experience on this or please give us a hint on how to see which channel the wireless interface is currently using within iw-tool? Many thanks in advance. Zhongliang & Thomas -- Zhongliang Zhao, Research Assistant Institute of Computer Science and Applied Mathematics University of Bern, Neubrueckstrasse 10, CH-3012 Bern, Switzerland Email: zhao@iam.unibe.ch Phone: +41 (0)31 511 2639 Fax: +41 (0)31 631 3261