I have been searching for a while on how to do this, but am unable to get anywhere. Here is the wireless card I have:

Code:
*-network
                description: Wireless interface
                product: AR5001 Wireless Network Adapter
                vendor: Atheros Communications Inc.
                physical id: 0
                bus info: pci@0000:14:00.0
                logical name: wlan0
                version: 01
                serial: 00:1b:9e:bd:23:2c
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=ath5k driverversion=2.6.38-11-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bg
                resources: irq:19 memory:f8200000-f820ffff