Grasshopper Ears

What evolutionary advantage does a grasshopper have by growing its ears on the joints of their legs? :confused:

I could think of some potential advantages, but they would be moot because grasshoppers’ tympani are not on the joints of their legs. insect body parts