I am using ubuntu 12.04. How to know that my wireless card driver is ath9k or ath5k?
lspci -nnk | grep -iA2 net
that command will tell you your wireless and ehternet device and any driver that is loaded for them.
Also you could run:
that command will show you all drivers loaded which are called modules actually in linux.